-
+
diff --git a/web/app/components/explore/sidebar/app-nav-item/index.tsx b/web/app/components/explore/sidebar/app-nav-item/index.tsx
index d1173f8b28..8ec16a0964 100644
--- a/web/app/components/explore/sidebar/app-nav-item/index.tsx
+++ b/web/app/components/explore/sidebar/app-nav-item/index.tsx
@@ -2,12 +2,15 @@
import cn from 'classnames'
import { useRouter } from 'next/navigation'
import ItemOperation from '@/app/components/explore/item-operation'
+import AppIcon from '@/app/components/base/app-icon'
import s from './style.module.css'
export interface IAppNavItemProps {
name: string
id: string
+ icon: string
+ icon_background: string
isSelected: boolean
isPinned: boolean
togglePin: () => void
@@ -18,11 +21,13 @@ export interface IAppNavItemProps {
export default function AppNavItem({
name,
id,
+ icon,
+ icon_background,
isSelected,
isPinned,
togglePin,
uninstallable,
- onDelete
+ onDelete,
}: IAppNavItemProps) {
const router = useRouter()
const url = `/explore/installed/${id}`
@@ -39,15 +44,16 @@ export default function AppNavItem({
router.push(url) // use Link causes popup item always trigger jump. Can not be solved by e.stopPropagation().
}}
>
-
-
{
diff --git a/web/app/components/explore/sidebar/index.tsx b/web/app/components/explore/sidebar/index.tsx
index 418c4d3ea3..e5c058228e 100644
--- a/web/app/components/explore/sidebar/index.tsx
+++ b/web/app/components/explore/sidebar/index.tsx
@@ -84,11 +84,13 @@ const SideBar: FC<{
maxHeight: 'calc(100vh - 250px)'
}}
>
- {installedApps.map(({id, is_pinned, uninstallable, app : { name }}) => {
+ {installedApps.map(({id, is_pinned, uninstallable, app : { name, icon, icon_background }}) => {
return (