修改 ICON 和部門資料
This commit is contained in:
@@ -44,6 +44,11 @@ import {
|
||||
Database,
|
||||
Palette,
|
||||
Volume2,
|
||||
Camera,
|
||||
Smartphone,
|
||||
Monitor,
|
||||
Globe,
|
||||
FileText,
|
||||
} from "lucide-react"
|
||||
import { FavoriteButton } from "./favorite-button"
|
||||
import { ReviewSystem } from "./reviews/review-system"
|
||||
@@ -150,9 +155,14 @@ export function AppDetailDialog({ open, onOpenChange, app }: AppDetailDialogProp
|
||||
'ChevronLeft': ChevronLeft,
|
||||
'ChevronRight': ChevronRight,
|
||||
'ArrowLeft': ArrowLeft,
|
||||
'Settings': Settings
|
||||
'Settings': Settings,
|
||||
'Camera': Camera,
|
||||
'Smartphone': Smartphone,
|
||||
'Monitor': Monitor,
|
||||
'Globe': Globe,
|
||||
'FileText': FileText,
|
||||
}
|
||||
return iconMap[iconName] || Brain // 預設使用 Brain 圖標
|
||||
return iconMap[iconName] || Bot // 預設使用 Bot 圖標
|
||||
}
|
||||
|
||||
const IconComponent = getIconComponent(app.icon || 'Bot')
|
||||
|
||||
Reference in New Issue
Block a user