Files
don_confiao_frontend/src/pages/cuadrar_tarro.vue

20 lines
354 B
Vue

<template>
<ReconciliationJar v-if="authStore.isAdmin" />
</template>
<script >
import { useAuthStore } from '@/stores/auth';
export default {
setup() {
const authStore = useAuthStore();
return { authStore };
},
mounted() {
if (!this.authStore.isAdmin) {
this.$router.push('/');
}
},
}
</script>