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:
parent
72b7642c5a
commit
fe629f8b51
|
@ -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}
|
||||||
|
|
Reference in New Issue