18 lines
436 B
Vue
18 lines
436 B
Vue
<template>
|
|
<q-page v-if="canReadSystem" class="flex flex-center">
|
|
<p>DashBoard</p>
|
|
</q-page>
|
|
<q-page v-else class="q-pa-md flex flex-center">
|
|
<div class="text-negative text-subtitle1">
|
|
Bu module erisim yetkiniz yok.
|
|
</div>
|
|
</q-page>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { usePermission } from 'src/composables/usePermission'
|
|
|
|
const { canRead } = usePermission()
|
|
const canReadSystem = canRead('system')
|
|
</script>
|