web/admin: fix empty column when no invitation expiry was set

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-08-01 12:44:10 +02:00
parent 05aefefb61
commit 96d7a5a27f

View file

@ -56,7 +56,7 @@ export class InvitationListPage extends TablePage<Invitation> {
return [
html`${item.pk}`,
html`${item.createdBy?.username}`,
html`${item.expires?.toLocaleString()}`,
html`${item.expires?.toLocaleString() || "-"}`,
html`
<ak-forms-delete
.obj=${item}