diff --git a/src/frontend/src/components/panels/PanelGroup.tsx b/src/frontend/src/components/panels/PanelGroup.tsx index 3e8cd57b6f..325b1c6c01 100644 --- a/src/frontend/src/components/panels/PanelGroup.tsx +++ b/src/frontend/src/components/panels/PanelGroup.tsx @@ -71,7 +71,6 @@ export type PanelProps = { selectedPanel?: string; onPanelChange?: (panel: string) => void; collapsible?: boolean; - markCustomPanels?: boolean; }; function BasePanelGroup({ @@ -84,8 +83,7 @@ function BasePanelGroup({ instance, model, id, - collapsible = true, - markCustomPanels = false + collapsible = true }: Readonly): ReactNode { const localState = useLocalState(); const location = useLocation(); @@ -157,11 +155,14 @@ function BasePanelGroup({ if (pluginPanels.length > 0) { _grouped_panels.push({ id: 'plugins', - label: markCustomPanels ? t`Plugin Provided` : '', + label: t`Plugin Provided`, panels: pluginPanels }); } + console.log('_allPanels:', _allpanels); + console.log('_groupedPanels:', _grouped_panels); + return [_allpanels, _grouped_panels]; }, [groups, panels, pluginPanelSet]); diff --git a/src/frontend/src/pages/Index/Settings/AdminCenter/Index.tsx b/src/frontend/src/pages/Index/Settings/AdminCenter/Index.tsx index 43ffb3d23c..4e65140bde 100644 --- a/src/frontend/src/pages/Index/Settings/AdminCenter/Index.tsx +++ b/src/frontend/src/pages/Index/Settings/AdminCenter/Index.tsx @@ -302,7 +302,6 @@ export default function AdminCenter() { panels={adminCenterPanels} groups={grouping} collapsible={true} - markCustomPanels={true} model='admincenter' id={null} />