We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b92d59 commit 86f4aa1Copy full SHA for 86f4aa1
ui/src/components/dashboard/OpenTickets.vue
@@ -33,7 +33,7 @@ const {
33
const age = (ticket: Ticket) => {
34
const days = intervalToDuration({ start: new Date(ticket.created), end: new Date() }).days
35
36
- if (days === 0) return 'today'
+ if (!days) return 'today'
37
if (days === 1) return 'yesterday'
38
39
return `${days} days`
0 commit comments