feat: use before-show
gitea/salix-front/pipeline/pr-master This commit is unstable Details

This commit is contained in:
Javier Segarra 2025-04-14 08:07:14 +02:00
parent 60aee5469d
commit 7611573f06
1 changed files with 3 additions and 3 deletions

View File

@ -27,8 +27,7 @@ const props = defineProps({
});
onMounted(() => {
restoreTicket();
hasDocuware();
restoreTicket();
});
watch(
@ -608,6 +607,7 @@ async function ticketToRestore() {
self="top start"
auto-close
bordered
@before-show="hasDocuware()"
>
<QList>
<QItem @click="openDeliveryNote('deliveryNote')" v-ripple clickable>
@ -642,7 +642,7 @@ async function ticketToRestore() {
<QItemSection side>
<QIcon name="keyboard_arrow_right" />
</QItemSection>
<QMenu anchor="top end" self="top start" auto-close>
<QMenu anchor="top end" self="top start" auto-close @click="hasDocuware()">
<QList>
<QItem
@click="sendDeliveryNoteConfirmation('deliveryNote')"