changes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup>
|
||||
const { dealer } = useStore();
|
||||
const { $buildFileUrl, $copyToClipboard, $getEditRights } = useNuxtApp();
|
||||
|
||||
const props = defineProps({
|
||||
@@ -24,7 +23,7 @@ const url = $buildFileUrl(props.image.file__file);
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
v-if="!dealer && $getEditRights()"
|
||||
v-if="$getEditRights()"
|
||||
class="button is-small is-white"
|
||||
@click="editImage(image)"
|
||||
title="Sửa"
|
||||
@@ -43,7 +42,7 @@ const url = $buildFileUrl(props.image.file__file);
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
v-if="!dealer && $getEditRights()"
|
||||
v-if="$getEditRights()"
|
||||
class="button is-small is-white"
|
||||
@click="openDeleteImageConfirm(image)"
|
||||
title="Xóa"
|
||||
|
||||
Reference in New Issue
Block a user