node: services: fix logic for displaying unit state

still hacky but at least works now ;-)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-06-30 21:21:55 +02:00
parent 03325cedcf
commit a8ab1d9820

View File

@ -196,7 +196,7 @@ Ext.define('Proxmox.node.ServiceView', {
header: gettext('Unit'),
width: 120,
sortable: true,
hidden: typeof PVE === 'object', // FIXME currently only PVE supports it
hidden: Proxmox?.Setup?.auth_cookie_name !== 'PVEAuthCookie', // FIXME currently only PVE supports it
dataIndex: 'unit-state',
},
{