diff --git a/frontend/src/core/components/shared/AppConfigModal.tsx b/frontend/src/core/components/shared/AppConfigModal.tsx index cf3e8e066..3faa92baa 100644 --- a/frontend/src/core/components/shared/AppConfigModal.tsx +++ b/frontend/src/core/components/shared/AppConfigModal.tsx @@ -3,7 +3,6 @@ import { Modal, Text, ActionIcon, Tooltip } from '@mantine/core'; import { useMediaQuery } from '@mantine/hooks'; import { useNavigate, useLocation } from 'react-router-dom'; import LocalIcon from '@app/components/shared/LocalIcon'; -import Overview from '@app/components/shared/config/configSections/Overview'; import { createConfigNavSections } from '@app/components/shared/config/configNavSections'; import { NavKey } from '@app/components/shared/config/types'; import { useAppConfig } from '@app/contexts/AppConfigContext'; @@ -71,12 +70,6 @@ const AppConfigModal: React.FC = ({ opened, onClose }) => { headerBorder: 'var(--modal-header-border)', }), []); - // Placeholder logout handler (not needed in open-source but keeps SaaS compatibility) - const handleLogout = () => { - // In SaaS this would sign out, in open-source it does nothing - console.log('Logout placeholder for SaaS compatibility'); - }; - // Get isAdmin and runningEE from app config const isAdmin = config?.isAdmin ?? false; const runningEE = config?.runningEE ?? false; diff --git a/frontend/src/proprietary/components/shared/config/configNavSections.tsx b/frontend/src/proprietary/components/shared/config/configNavSections.tsx index 44b5e6330..eb8068cbd 100644 --- a/frontend/src/proprietary/components/shared/config/configNavSections.tsx +++ b/frontend/src/proprietary/components/shared/config/configNavSections.tsx @@ -7,13 +7,11 @@ import TeamsSection from '@proprietary/components/shared/config/configSections/T * Proprietary extension of createConfigNavSections that adds workspace sections */ export const createConfigNavSections = ( - Overview: React.ComponentType<{ onLogoutClick: () => void }>, - onLogoutClick: () => void, isAdmin: boolean = false, runningEE: boolean = false ): ConfigNavSection[] => { // Get the core sections - const sections = createCoreConfigNavSections(Overview, onLogoutClick, isAdmin, runningEE); + const sections = createCoreConfigNavSections(isAdmin, runningEE); // Add Workspace section after Preferences (index 1) const workspaceSection: ConfigNavSection = {