From e6fff3b15eaa6903eb3d05a5ac88136d5c20ceac Mon Sep 17 00:00:00 2001 From: Roberto Carlos Martinez Arriaga Date: Tue, 21 Jul 2026 08:27:23 -0600 Subject: [PATCH] feat(web): add maintenance link to command palette (#30016) --- web/src/lib/commands.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/src/lib/commands.ts b/web/src/lib/commands.ts index 549400d9ca..0673285657 100644 --- a/web/src/lib/commands.ts +++ b/web/src/lib/commands.ts @@ -25,6 +25,7 @@ import { mdiThemeLightDark, mdiToolboxOutline, mdiTrashCanOutline, + mdiWrench, } from '@mdi/js'; import type { MessageFormatter } from 'svelte-i18n'; import { goto } from '$app/navigation'; @@ -66,6 +67,12 @@ export const getPagesProvider = ($t: MessageFormatter) => { icon: mdiServer, onAction: () => goto(Route.systemStatistics()), }, + { + title: $t('admin.maintenance_settings'), + description: $t('admin.maintenance_settings_description'), + icon: mdiWrench, + onAction: () => goto(Route.systemMaintenance()), + }, ].map((route) => ({ ...route, $if: () => authManager.authenticated && authManager.user.isAdmin })); const userPages: ActionItem[] = [