fix: CRUD only admin

This commit is contained in:
somnetsak123 2023-11-28 09:22:44 +07:00 committed by Methapon2001
parent 9d81097b4c
commit 9c87db45be
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
2 changed files with 3 additions and 0 deletions

View file

@ -46,6 +46,7 @@ onMounted(() => {
:width="300"
:breakpoint="500"
overlay
behavior="mobile"
>
<q-toolbar class="q-mb-md q-pa-none">
<q-toolbar-title>

View file

@ -131,6 +131,7 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
</div>
<div>
<q-btn
v-if="props.mode == 'admin'"
outline
push
class="q-px-md q-ml-md q-py-sm"
@ -221,6 +222,7 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
</div>
<div>
<q-btn
v-if="props.mode == 'admin'"
outline
push
class="q-px-md q-ml-md q-py-sm"