fix: refactor click handling for state column in MonitorTickets.vue

This commit is contained in:
Javier Segarra 2025-03-26 13:49:48 +01:00
parent 3e0c6e0214
commit 59f250fd65
1 changed files with 12 additions and 14 deletions

View File

@ -449,8 +449,7 @@ const openTab = (id) => useOpenURL(`#/ticket/${id}/sale`);
<span :title="row.province" v-text="row.province" />
</template>
<template #column-state="{ row }">
<div @click.stop.prevent>
<div v-if="row.refFk">
<div v-if="row.refFk" @click.stop.prevent>
<span class="link">{{ row.refFk }}</span>
<InvoiceOutDescriptorProxy :id="row.invoiceOutId" />
</div>
@ -463,7 +462,6 @@ const openTab = (id) => useOpenURL(`#/ticket/${id}/sale`);
>
{{ row.state }}
</QBadge>
</div>
</template>
<template #column-isFragile="{ row }">
<QIcon v-if="row.isFragile" name="local_bar" color="primary" size="sm">