Move push notification setting to separate page

Set up a dedicated Account Setttings page to hold account specific
settings such as the push notifications.
This commit is contained in:
Hornwitser 2025-03-07 18:43:24 +01:00
parent d4cbbcbc2d
commit ca51c07065
4 changed files with 38 additions and 4 deletions

View file

@ -0,0 +1,22 @@
<template>
<main>
<h1>Account Settings</h1>
<p>Name: {{ session?.account.name }}</p>
<p>Access: {{ session?.account.type }}</p>
<p>
<PushNotification />
</p>
</main>
</template>
<script lang="ts" setup>
definePageMeta({
middleware: ["authenticated"],
});
const { data: session } = useAccountSession();
</script>
<style>
</style>