style: lint + format

This commit is contained in:
laurejablonski 2025-05-01 09:44:19 +02:00
parent ddfdb94935
commit 2b2e9870dc
3 changed files with 10 additions and 8 deletions

View file

@ -91,7 +91,10 @@
<!-- {{ t("discussions") }}-->
<!-- </v-btn>-->
</v-toolbar-items>
<v-menu open-on-hover open-on-click>
<v-menu
open-on-hover
open-on-click
>
<template v-slot:activator="{ props }">
<v-btn
v-bind="props"

View file

@ -84,7 +84,10 @@
</div>
</div>
<div class="container_right">
<v-menu open-on-hover open-on-click>
<v-menu
open-on-hover
open-on-click
>
<template v-slot:activator="{ props }">
<v-btn
v-bind="props"

View file

@ -8,9 +8,9 @@
watch(
() => auth.isLoggedIn.value,
(newVal) => {
async (newVal) => {
if (newVal) {
router.push("/user");
await router.push("/user");
}
},
{ immediate: true },
@ -23,10 +23,6 @@
async function loginAsTeacher(): Promise<void> {
await auth.loginAs("teacher");
}
async function performLogout(): Promise<void> {
await auth.logout();
}
</script>
<template>