WIP: fix: add ? on not sure values #923

Draft
pablone wants to merge 1 commits from fixEntrySummary into dev
1 changed files with 9 additions and 4 deletions

View File

@ -207,13 +207,13 @@ const fetchEntryBuys = async () => {
<template #value>
<span class="link">
{{ entry.travel.ref }}
<TravelDescriptorProxy :id="entry.travel.id" />
<TravelDescriptorProxy :id="entry.travel?.id" />
</span>
</template>
</VnLv>
<VnLv
:label="t('entry.summary.travelAgency')"
:value="entry.travel.agency?.name"
:value="entry.travel?.agency?.name"
/>
<VnLv :label="t('shipped')" :value="toDate(entry.travel.shipped)" />
<VnLv
@ -238,7 +238,7 @@ const fetchEntryBuys = async () => {
</QCard>
<QCard class="vn-one">
<router-link
:to="{ name: 'TravelSummary', params: { id: entry.travel.id } }"
:to="{ name: 'TravelSummary', params: { id: entry?.travel?.id } }"
class="header header-link"
>
{{ t('Travel data') }}
@ -259,6 +259,11 @@ const fetchEntryBuys = async () => {
v-model="entry.isBooked"
:disable="true"
/>
<QCheckbox
:label="t('entry.summary.raid')"
v-model="entry.isRaid"
:disable="true"
/>
<QCheckbox
:label="t('entry.summary.excludedFromAvailable')"
v-model="entry.isExcludedFromAvailable"
@ -304,7 +309,7 @@ const fetchEntryBuys = async () => {
<span>{{ row.item.itemType.code }}</span>
</QTd>
<QTd>
<span>{{ row.item.id }}</span>
<span>{{ row.item?.id }}</span>
</QTd>
<QTd>
<span>{{ row.item.size }}</span>