From 96d7a5a27fa752db2afad68c42d417eaadbdc156 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 1 Aug 2021 12:44:10 +0200 Subject: [PATCH] web/admin: fix empty column when no invitation expiry was set Signed-off-by: Jens Langhammer --- web/src/pages/stages/invitation/InvitationListPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/stages/invitation/InvitationListPage.ts b/web/src/pages/stages/invitation/InvitationListPage.ts index 08dbb6917..fa273668f 100644 --- a/web/src/pages/stages/invitation/InvitationListPage.ts +++ b/web/src/pages/stages/invitation/InvitationListPage.ts @@ -56,7 +56,7 @@ export class InvitationListPage extends TablePage { return [ html`${item.pk}`, html`${item.createdBy?.username}`, - html`${item.expires?.toLocaleString()}`, + html`${item.expires?.toLocaleString() || "-"}`, html`