style: fix linting issues met Prettier
This commit is contained in:
parent
fbfe54879a
commit
0661e705b3
15 changed files with 225 additions and 190 deletions
|
@ -1,8 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
import auth from "@/services/auth/auth-service.ts";
|
||||
import MenuBar from "@/components/MenuBar.vue";
|
||||
import {useRoute} from "vue-router";
|
||||
import {computed} from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
import { computed } from "vue";
|
||||
|
||||
const route = useRoute();
|
||||
auth.loadUser();
|
||||
|
@ -11,10 +11,7 @@
|
|||
requiresAuth?: boolean;
|
||||
}
|
||||
|
||||
const showMenuBar = computed(() =>
|
||||
(route.meta as RouteMeta).requiresAuth
|
||||
&& auth.authState.user
|
||||
)
|
||||
const showMenuBar = computed(() => (route.meta as RouteMeta).requiresAuth && auth.authState.user);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue