Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bcdrme committed Jan 19, 2025
1 parent 6dc7c55 commit 7d56252
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/renderer/components/navbar/Exit.vue
Original file line number Diff line number Diff line change
@@ -13,14 +13,16 @@ import { useRouter } from "vue-router";
import Modal from "@renderer/components/common/Modal.vue";
import Button from "@renderer/components/controls/Button.vue";
import { auth } from "@renderer/store/me.store";
// TODO Add again when https://github.com/beyond-all-reason/bar-lobby/pull/290 is merged
// import { auth } from "@renderer/store/me.store";
import { settingsStore } from "@renderer/store/settings.store";
const router = useRouter();
const modal: Ref<InstanceType<typeof Modal> | null> = ref(null);
async function logout() {
auth.logout();
// TODO Add again when https://github.com/beyond-all-reason/bar-lobby/pull/290 is merged
// auth.logout();
settingsStore.loginAutomatically = false;
await router.push("/login");
modal.value?.close();

0 comments on commit 7d56252

Please sign in to comment.