added notif 2
This commit is contained in:
@@ -26,7 +26,7 @@ import { useRouterStore } from '@core/stores/router'
|
||||
import { useUserStore } from '@/store/userStore'
|
||||
import { isDeployAdmin } from '@/utils/deployAdmin'
|
||||
import { hasSmsPanelAccess, isSmsBillingEnabled } from '@/utils/smsPanelAccess'
|
||||
import { bannerEnabledSetting, trackingSystemsEnabledSetting } from '@/utils/config'
|
||||
import { bannerEnabledSetting, trackingSystemsEnabledSetting, appNotificationEnabledSetting } from '@/utils/config'
|
||||
import { get } from 'lodash'
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
@@ -39,6 +39,7 @@ const menu = computed(() => {
|
||||
return children
|
||||
.filter((child) => !child.meta?.hideMenu)
|
||||
.filter((child) => child.name !== 'banners' || bannerEnabledSetting.value)
|
||||
.filter((child) => child.name !== 'appNotifications' || appNotificationEnabledSetting.value)
|
||||
.filter((child) => child.name !== 'captureSitesMain' || trackingSystemsEnabledSetting.value)
|
||||
.filter(
|
||||
(child) =>
|
||||
|
||||
Reference in New Issue
Block a user