mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-15 15:41:47 +03:00
25 lines
687 B
Vue
25 lines
687 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: ['auth', () => {
|
|
if (!useAppConfig().pwaEnabled)
|
|
return navigateTo('/settings/notifications')
|
|
}],
|
|
})
|
|
|
|
const { t } = useI18n()
|
|
|
|
useHydratedHead({
|
|
title: () => `${t('settings.notifications.push_notifications.label')} | ${t('settings.notifications.label')} | ${t('nav.settings')}`,
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent back>
|
|
<template #title>
|
|
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
|
|
<span>{{ isHydrated ? $t('settings.notifications.push_notifications.label') : '' }}</span>
|
|
</div>
|
|
</template>
|
|
<NotificationPreferences show />
|
|
</MainContent>
|
|
</template>
|