We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf26bbd + e872829 commit 15639edCopy full SHA for 15639ed
desk/src/components/ticket/TicketCustomerSidebar.vue
@@ -95,7 +95,13 @@
95
class="text-base text-gray-800 flex-1"
96
:class="!field.value && 'text-ink-gray-4'"
97
>
98
- <template v-if="field.value && dayjs(field.value).isValid()">
+ <template
99
+ v-if="
100
+ field.value &&
101
+ (field.fieldtype === 'Date' || field.fieldtype === 'Datetime') &&
102
+ dayjs(field.value).isValid()
103
+ "
104
+ >
105
{{ dateFormat(field.value, dateTooltipFormat) }}
106
</template>
107
<template v-else>
0 commit comments