@@ -24,7 +24,7 @@ import { Button, Empty, EmptyTitle, EmptyDescription, NavigationOverlay, Dropdow
2424import { Plus , Table as TableIcon , Settings2 , Wrench , KanbanSquare , Calendar , LayoutGrid , Activity , GanttChart , MapPin , BarChart3 , ChevronRight } from 'lucide-react' ;
2525import type { ListViewSchema , ViewNavigationConfig } from '@object-ui/types' ;
2626import { MetadataToggle , MetadataPanel , useMetadataInspector } from './MetadataInspector' ;
27- import { ViewConfigPanel , type EditorPanelType } from './ViewConfigPanel' ;
27+ import { ViewConfigPanel } from './ViewConfigPanel' ;
2828import { useObjectActions } from '../hooks/useObjectActions' ;
2929import { useObjectTranslation } from '@object-ui/i18n' ;
3030import { usePermissions } from '@object-ui/permissions' ;
@@ -89,10 +89,6 @@ export function ObjectView({ dataSource, objects, onEdit, onRowClick }: any) {
8989 }
9090 } , [ dataSource , objectName ] ) ;
9191
92- const handleOpenEditor = useCallback ( ( editor : EditorPanelType ) => {
93- console . info ( '[ViewConfigPanel] Open editor:' , editor ) ;
94- } , [ ] ) ;
95-
9692 // Record count tracking for footer
9793 const [ recordCount , setRecordCount ] = useState < number | undefined > ( undefined ) ;
9894
@@ -536,7 +532,6 @@ export function ObjectView({ dataSource, objects, onEdit, onRowClick }: any) {
536532 activeView = { activeView }
537533 objectDef = { objectDef }
538534 recordCount = { recordCount }
539- onOpenEditor = { handleOpenEditor }
540535 onSave = { handleViewConfigSave }
541536 onViewUpdate = { handleViewUpdate }
542537 />
0 commit comments