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
05aefefb61
commit
96d7a5a27f
|
@ -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