31 lines
873 B
Vue
31 lines
873 B
Vue
<template>
|
|
<MainTemplate :useStagedOverviewLink="false">
|
|
<template #topBar>
|
|
<div class="flex flex-row items-center justify-between pt-5 pb-3 px-7">
|
|
<h1 class="font-bold text-xl h-8">Meine Berechtigungen</h1>
|
|
</div>
|
|
</template>
|
|
<template #main>
|
|
<Permission :permissions="permissions" :disableEdit="true" />
|
|
</template>
|
|
</MainTemplate>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { defineComponent, markRaw, defineAsyncComponent } from "vue";
|
|
import { mapActions, mapState } from "pinia";
|
|
import MainTemplate from "@/templates/Main.vue";
|
|
import Permission from "@/components/admin/Permission.vue";
|
|
import { useAbilityStore } from "@/stores/ability";
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
export default defineComponent({
|
|
data() {
|
|
return {};
|
|
},
|
|
computed: {
|
|
...mapState(useAbilityStore, ["permissions"]),
|
|
},
|
|
});
|
|
</script>
|