tfa view: avoid showing start of unix epoch when no creation date

as that is a bit unrealistically, rather use N/A (not applicable)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-11 19:26:31 +01:00
parent 7edda053ea
commit 65c39bc04a

View File

@ -234,7 +234,7 @@ Ext.define('Proxmox.panel.TfaView', {
width: 150,
sortable: true,
dataIndex: 'created',
renderer: Proxmox.Utils.render_timestamp,
renderer: t => !t ? 'N/A' : Proxmox.Utils.render_timestamp(t),
},
{
header: gettext('Description'),