From 5f49c87f4a68afa891a77b03cf3ec46bd1375fc3 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 13 Nov 2026 23:30:35 +0000 Subject: [PATCH] fix(admin): map the retired integration group for managed tabs The settings redesign folded the integration sidebar group into config, but ManagedAdminTab still accepts group 'integration'. Indexing the label map with it was an implicit any under the strict check and would have put such a tab under an empty heading. It now lands under config. --- client/src/pages/AdminPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/pages/AdminPage.tsx b/client/src/pages/AdminPage.tsx index 197315061..a3a195052 100644 --- a/client/src/pages/AdminPage.tsx +++ b/client/src/pages/AdminPage.tsx @@ -52,7 +52,9 @@ function AdminPageDesktop(): React.ReactElement { const gUsers = t('admin.group.users') const gConfig = t('admin.group.config') const gMaintenance = t('admin.group.maintenance') - const GROUP_LABELS = { users: gUsers, config: gConfig, maintenance: gMaintenance } + // The integration group was folded into config; a managed tab that still + // names it lands there too instead of under a missing heading. + const GROUP_LABELS = { users: gUsers, config: gConfig, integration: gConfig, maintenance: gMaintenance } const TABS: PageSidebarTab[] = [ { id: 'users', label: t('admin.tabs.users'), icon: Users, group: gUsers }, { id: 'defaults', label: t('admin.tabs.defaults'), icon: UserCog, group: gUsers },