fix: mod listView

This commit is contained in:
somnetsak123 2023-12-01 15:40:54 +07:00
parent 9cab874e75
commit 5c8f140fd7

View file

@ -262,14 +262,15 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
<div class="q-gutter-sm"> <div class="q-gutter-sm">
<div <div
class="flex flex-break d justify-between space-between" class="flex flex-break d justify-between space-between"
v-if="currentDept >= 1" v-if="currentDept >= 1 && props.mode == 'admin' && currentDept != 4"
> >
<div> <div>
<span class="text-h6">{{ currentLevel }}</span> <span class="text-h6">{{ currentLevel }}</span>
</div> </div>
<div> <div>
<q-btn <q-btn
v-if="props.mode == 'admin' && currentDept != 4"
outline outline
push push
class="q-px-md q-ml-md q-py-sm" class="q-px-md q-ml-md q-py-sm"
@ -293,6 +294,7 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
:rows-per-page-options="[0]" :rows-per-page-options="[0]"
@row-click="onRowClick" @row-click="onRowClick"
class="cursor" class="cursor"
v-if=" currentDept != 4 "
> >
<template v-slot:body-cell-name="nameRow"> <template v-slot:body-cell-name="nameRow">
<q-td style="width: 50%"> <q-td style="width: 50%">