chore(web): omit notifications sidebar from UPC in staging & prod

This commit is contained in:
Pujit Mehrotra
2024-10-14 13:29:18 -04:00
parent 2c79ccc883
commit bc69852333
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ exports[`loads notifications properly 1`] = `
"description": "Canceled",
"id": "/app/dev/notifications/unread/Unraid_Parity_check_1683971161.notify",
"importance": "WARNING",
"link": undefined,
"link": "/",
"subject": "Notice [UNRAID] - Parity check finished (0 errors)",
"timestamp": "2023-05-13T09:46:01.000Z",
"title": "Unraid Parity check",

View File

@@ -127,7 +127,8 @@ onBeforeMount(() => {
<div class="block w-2px h-24px bg-gamma" />
<NotificationsSidebar />
<!-- Keep the sidebar out of staging/prod builds, but easily accessible for development -->
<!-- <NotificationsSidebar /> -->
<OnClickOutside class="flex items-center justify-end h-full" :options="{ ignore: [clickOutsideIgnoreTarget] }" @trigger="outsideDropdown">
<UpcDropdownTrigger ref="clickOutsideIgnoreTarget" :t="t" />