2023-01-05 11:47:58 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
definePageMeta({
|
|
|
|
middleware: ['auth', () => {
|
2023-01-29 17:18:27 +03:00
|
|
|
if (!useAppConfig().pwaEnabled)
|
2023-01-05 11:47:58 +03:00
|
|
|
return navigateTo('/settings/notifications')
|
|
|
|
}],
|
|
|
|
})
|
|
|
|
|
|
|
|
const { t } = useI18n()
|
|
|
|
|
2023-04-16 22:33:51 +03:00
|
|
|
useHydratedHead({
|
2023-01-05 11:47:58 +03:00
|
|
|
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">
|
2024-02-24 15:24:21 +03:00
|
|
|
<span>{{ $t('settings.notifications.push_notifications.label') }}</span>
|
2023-01-05 11:47:58 +03:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<NotificationPreferences show />
|
|
|
|
</MainContent>
|
|
|
|
</template>
|