-
-
- {selectedDeps.length > 0 && (
-
- {selectedDeps.map(depId => (
-
- {depId}
-
-
- ))}
-
- )}
-
- {unselectedDeps.length > 0 && (
-
-
-
- {unselectedDeps.map(ds => (
-
- ))}
-
-
- )}
-
- {availableDeps.length === 0 && selectedDeps.length === 0 && (
-
- {copy.emptyDependencies}
-
- )}
-
- >
- )
-}
diff --git a/src/components/organisms/DataSourceManager.tsx b/src/components/organisms/DataSourceManager.tsx
index 85c9acd..d7f6627 100644
--- a/src/components/organisms/DataSourceManager.tsx
+++ b/src/components/organisms/DataSourceManager.tsx
@@ -3,7 +3,7 @@ import { Card, CardContent, CardHeader } from '@/components/ui/card'
import { DataSourceEditorDialog } from '@/components/molecules/DataSourceEditorDialog'
import { useDataSourceManager } from '@/hooks/data/use-data-source-manager'
import { DataSource, DataSourceType } from '@/types/json-ui'
-import { Database, Function, FileText } from '@phosphor-icons/react'
+import { Database, FileText } from '@phosphor-icons/react'
import { toast } from 'sonner'
import { EmptyState, Stack } from '@/components/atoms'
import { DataSourceManagerHeader } from '@/components/organisms/data-source-manager/DataSourceManagerHeader'
@@ -66,7 +66,6 @@ export function DataSourceManager({ dataSources, onChange }: DataSourceManagerPr
const groupedSources = {
kv: localSources.filter(ds => ds.type === 'kv'),
- computed: localSources.filter(ds => ds.type === 'computed'),
static: localSources.filter(ds => ds.type === 'static'),
}
@@ -110,15 +109,6 @@ export function DataSourceManager({ dataSources, onChange }: DataSourceManagerPr
onEdit={handleEditSource}
onDelete={handleDeleteSource}
/>
-
-