From d7236910a5e0ae31a2ecc12e921709e01f43f66a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 17 Dec 2022 23:55:00 +0000 Subject: [PATCH] fix: disable enabling notifications if user needs to re-login --- .../notification/NotificationEnablePushNotification.client.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/notification/NotificationEnablePushNotification.client.vue b/components/notification/NotificationEnablePushNotification.client.vue index 783970de..8a986b20 100644 --- a/components/notification/NotificationEnablePushNotification.client.vue +++ b/components/notification/NotificationEnablePushNotification.client.vue @@ -6,6 +6,7 @@ defineProps<{ }>() defineEmits(['hide', 'subscribe']) +const isLegacyAccount = computed(() => !currentUser.value?.vapidKey)