Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(admin): map the retired integration group for managed tabs

Maurice5f49c87f4a68
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 },