feat: add unsubscribe functionality for push notifications and update key/cert file paths
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m39s

This commit is contained in:
2026-04-20 15:41:28 -04:00
parent b529ddaa02
commit ee16b49020
4 changed files with 63 additions and 4 deletions

View File

@@ -12,10 +12,14 @@ import {
hasPendingReturnUrl,
clearPendingReturnUrl,
} from '../../stores/auth'
import { getCachedImageUrl, getCachedImageBlob } from '@/common/imageCache'
import { getCachedImageBlob } from '@/common/imageCache'
import '@/assets/styles.css'
import ModalDialog from './ModalDialog.vue'
import { subscribeToPushWithResult, isPushOptedOut } from '@/services/pushSubscription'
import {
subscribeToPushWithResult,
unsubscribeFromPush,
isPushOptedOut,
} from '@/services/pushSubscription'
const router = useRouter()
const show = ref(false)
@@ -157,6 +161,7 @@ function handlePinInput(event: Event) {
}
const handleLogout = () => {
unsubscribeFromPush()
logoutParent()
router.push('/child')
}