feat: implement unauthorized error handling and login popup
Deploy Miniplan / build (push) Failing after 42s

This commit is contained in:
2026-04-30 22:39:04 +02:00
parent a3e115824b
commit 213065b86c
8 changed files with 70 additions and 17 deletions
+5
View File
@@ -5,6 +5,7 @@ import LoginPanel from "@/components/LoginPanel.vue";
import {onMounted, ref} from "vue";
import {Auth} from "@/services/auth";
import DialogHost from "@/components/dialog/DialogHost.vue";
import {LoginService} from "@/services/LoginService";
let showPopup = ref(false)
let loggedIn = ref(false)
@@ -25,6 +26,10 @@ onMounted(() => {
Auth.checkForToken()
})
LoginService.subject.subscribe(() => {
showPopup.value = true
})
</script>
<template>