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 72b7642c5a
commit fe629f8b51
1 changed files with 1 additions and 1 deletions

View File

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