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.
This commit is contained in:
Maurice
2026-11-13 23:30:35 +00:00
parent 01653f81e3
commit 5f49c87f4a
+3 -1
View File
@@ -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 },