another stage of client authentication

This commit is contained in:
DecDuck
2024-10-08 16:13:28 +11:00
parent 13bf4fe757
commit 8896492776
22 changed files with 802 additions and 83 deletions
+6 -1
View File
@@ -1,5 +1,5 @@
<template>
<NuxtLayout>
<NuxtLayout class="select-none">
<NuxtPage />
</NuxtLayout>
{{ state }}
@@ -9,6 +9,7 @@
import { invoke } from "@tauri-apps/api/core";
// @ts-expect-error
import { AppStatus } from "./types.d.ts";
import { listen } from "@tauri-apps/api/event";
const router = useRouter();
@@ -21,4 +22,8 @@ switch (state.status) {
router.push("/auth");
break;
}
listen("auth/connecting", (event) => {
router.push("/auth/connecting");
});
</script>