update: ซ่อนปุ่มลบหากมี metadata (module, list, search)

This commit is contained in:
puri-ph4tt 2024-01-12 09:32:02 +07:00
parent e31e1706e6
commit 4b70a1469d
4 changed files with 21 additions and 0 deletions

View file

@ -5,6 +5,7 @@ defineEmits(['edit', 'delete'])
const props = defineProps<{
nameId: string
haveMeta: boolean
}>()
const open = ref(false)
@ -39,6 +40,7 @@ const open = ref(false)
</q-item-section>
</q-item>
<q-item
v-if="!haveMeta"
clickable
@click.stop="
() => {