updated structure organization fact

This commit is contained in:
Warunee Tamkoo 2024-09-13 14:18:05 +07:00
parent 760d467d0d
commit 41359b8c81
4 changed files with 35 additions and 5 deletions

View file

@ -175,7 +175,7 @@ onMounted(async () => {
<strong>{{ date2Thai(store.orgPublishDate) }}</strong>
</div>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
v-if="checkPermission($route)?.attrOwnership == 'OWNER'"
dense
class="q-px-md"
color="indigo-9"
@ -257,7 +257,10 @@ onMounted(async () => {
"
/>
<q-btn-dropdown
v-if="itemHistory.length !== 0"
v-if="
checkPermission($route)?.attrOwnership == 'OWNER' &&
itemHistory.length > 0
"
dense
class="q-px-md"
color="blue"
@ -283,7 +286,7 @@ onMounted(async () => {
</q-btn-group>
<q-btn-dropdown
v-if="checkPermission($route)?.attrIsCreate"
v-if="checkPermission($route)?.attrOwnership == 'OWNER'"
dense
unelevated
class="q-px-md"