{
onDrop={handleListDrop}
>
{tabs.map((tab, index) => {
- const model = tab.modelName ? getModelByName(tab.modelName) : null
- const Icon = model?.icon || HomeIcon
const isSelected = tab.id === activeTabId
const isDragging =
draggedValue != null && String(draggedValue) === String(tab.id)
@@ -273,37 +562,20 @@ const DashboardTabs = () => {
'dashboard-tab-item-container-active': isSelected
})}
>
-
+
)
})}
@@ -319,6 +591,23 @@ const DashboardTabs = () => {