node/ServiceView: Show unit-state column in PBS too

The PBS api now reports `unit-state` for services as well, thus enable
the column for it.

Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
Christoph Heiss 2022-12-22 13:05:50 +01:00 committed by Wolfgang Bumiller
parent 45110c1630
commit c8bae5b130

View File

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