0
0
Fork 0

chore: refs #4074 fix tests

This commit is contained in:
Jorge Penadés 2024-09-09 16:44:43 +02:00
parent bd00f86d74
commit 26c7dfde35
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ const isAllowedToCreate = computed(() => {
> >
<template v-if="isAllowedToCreate" #append> <template v-if="isAllowedToCreate" #append>
<QIcon <QIcon
@click.stop.prevent="showForm = true" @click.stop.prevent="$refs.dialog.show()"
:name="actionIcon" :name="actionIcon"
:size="actionIcon === 'add' ? 'xs' : 'sm'" :size="actionIcon === 'add' ? 'xs' : 'sm'"
:class="['default-icon', { '--add-icon': actionIcon === 'add' }]" :class="['default-icon', { '--add-icon': actionIcon === 'add' }]"
@ -54,7 +54,7 @@ const isAllowedToCreate = computed(() => {
> >
<QTooltip v-if="tooltip">{{ tooltip }}</QTooltip> <QTooltip v-if="tooltip">{{ tooltip }}</QTooltip>
</QIcon> </QIcon>
<QDialog v-model="showForm" transition-show="scale" transition-hide="scale"> <QDialog ref="dialog" transition-show="scale" transition-hide="scale">
<slot name="form" /> <slot name="form" />
</QDialog> </QDialog>
</template> </template>

View File

@ -294,7 +294,7 @@ const createInvoiceInCorrection = async () => {
</template> </template>
</InvoiceInToBook> </InvoiceInToBook>
<QItem <QItem
v-if="entity?.isBooked && canEditProp('toUnBook')" v-if="entity?.isBooked && canEditProp('toUnbook')"
v-ripple v-ripple
clickable clickable
@click="triggerMenu('unbook')" @click="triggerMenu('unbook')"