wip migration
This commit is contained in:
28
layouts/editar.vue
Normal file
28
layouts/editar.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div>
|
||||
<NavBar />
|
||||
<NavBarEditar v-if="isManager" />
|
||||
<NavBarEditarUser v-else/>
|
||||
<NuxtPage />
|
||||
<CookieUsageNotification />
|
||||
<Footer />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
export default {
|
||||
setup() {
|
||||
const auth = useAuthStore();
|
||||
return {
|
||||
auth,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
isManager() {
|
||||
return this.auth.isManager
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style></style>
|
||||
Reference in New Issue
Block a user