Implemented actual authentication guards, began implementing main login user flows
This commit is contained in:
@@ -23,6 +23,7 @@ onMounted(async () => {
|
||||
const router = useRoute();
|
||||
const appIDRaw = router.params.id.toString();
|
||||
const raw = await loadApplication(appIDRaw);
|
||||
console.log(raw);
|
||||
if (raw === null) {
|
||||
//new app
|
||||
appData.value = null
|
||||
@@ -43,7 +44,7 @@ onMounted(async () => {
|
||||
readOnly.value = true;
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
console.error(e);
|
||||
}
|
||||
loading.value = false;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user