From 6631cc5cc8b3cdb9a2a48950b0d24946e51ceba8 Mon Sep 17 00:00:00 2001 From: ItzNotABug Date: Tue, 1 Oct 2024 13:42:06 +0530 Subject: [PATCH] update: better pref keys. --- src/lib/stores/database.ts | 2 +- src/routes/(console)/bottomAlerts.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/stores/database.ts b/src/lib/stores/database.ts index 7a836f5e8..65143e867 100644 --- a/src/lib/stores/database.ts +++ b/src/lib/stores/database.ts @@ -8,7 +8,7 @@ import { shouldShowNotification } from '$lib/helpers/notifications'; export const database = derived(page, ($page) => $page.data?.database as Models.Database); -export const backupsBannerId = 'databasesBackupBannerAlert'; +export const backupsBannerId = 'banner:databaseBackups'; export const showPolicyAlert = writable(false); diff --git a/src/routes/(console)/bottomAlerts.ts b/src/routes/(console)/bottomAlerts.ts index e4e984e9a..18ed78926 100644 --- a/src/routes/(console)/bottomAlerts.ts +++ b/src/routes/(console)/bottomAlerts.ts @@ -8,7 +8,7 @@ import { type BottomModalAlertItem, showBottomModalAlert } from '$lib/stores/bot const listOfPromotions: BottomModalAlertItem[] = [ { - id: 'memberRoles', + id: 'modal:memberRoles', src: { dark: RolesDark, light: RolesLight @@ -29,7 +29,7 @@ const listOfPromotions: BottomModalAlertItem[] = [ } }, { - id: 'databaseBackups', + id: 'modal:databaseBackups', src: { dark: BackupsDark, light: BackupsLight