warmFix: ticket with null zone
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-11-29 08:44:16 +01:00
parent f25baf2e27
commit 615c5c1477
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ const setData = (entity) => {
:label="t('claim.card.province')"
:value="entity.ticket.address.province.name"
/>
<VnLv :label="t('claim.card.zone')" :value="entity.ticket.zone.name" />
<VnLv :label="t('claim.card.zone')" :value="entity.ticket?.zone?.name" />
</template>
<template #actions="{ entity }">
<QCardActions>

View File

@ -172,7 +172,7 @@ async function changeState(value) {
:label="t('ticket.summary.agency')"
:value="ticket.agencyMode.name"
/>
<VnLv :label="t('ticket.summary.zone')" :value="ticket.zone.name" />
<VnLv :label="t('ticket.summary.zone')" :value="ticket?.zone?.name" />
<VnLv
:label="t('ticket.summary.warehouse')"
:value="ticket.warehouse?.name"