High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): add maintenance link to command palette (#30016)
Roberto Carlos Martinez Arriagae6fff3b15eaa
diff --git a/web/src/lib/commands.ts b/web/src/lib/commands.tsindex 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[] = [