Small improvement to botProfit

This commit is contained in:
Matthias 2023-09-10 16:58:55 +02:00
parent fcdb74153f
commit 2ab9a4d58c

View File

@ -1,7 +1,7 @@
<template>
<b-table class="text-start" small borderless :items="profitItems" :fields="profitFields">
<template #cell(value)="row">
<DateTimeTZ v-if="row.item.isTs" :date="row.value as number"></DateTimeTZ>
<DateTimeTZ v-if="row.item.isTs && row.value" :date="row.value as number"></DateTimeTZ>
<template v-else>{{ row.value }}</template>
</template>
</b-table>