style: lint + format
This commit is contained in:
parent
ddfdb94935
commit
2b2e9870dc
3 changed files with 10 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue