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