style(helpdesk): replace dash placeholder for missing ticket dates
This commit is contained in:
parent
d485a82fa6
commit
5f5072399b
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ function formatDate(iso: string | null | undefined): string {
|
||||||
? new Intl.DateTimeFormat(undefined, { dateStyle: "medium", timeStyle: "short" }).format(
|
? new Intl.DateTimeFormat(undefined, { dateStyle: "medium", timeStyle: "short" }).format(
|
||||||
new Date(iso),
|
new Date(iso),
|
||||||
)
|
)
|
||||||
: "—";
|
: "-";
|
||||||
}
|
}
|
||||||
|
|
||||||
function isTicketStatus(value: string): value is TicketStatus {
|
function isTicketStatus(value: string): value is TicketStatus {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue