From c8bae5b130cd3469796e4c2aa14359b7ce794cc7 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Thu, 22 Dec 2022 13:05:50 +0100 Subject: [PATCH] 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 --- src/node/ServiceView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/ServiceView.js b/src/node/ServiceView.js index 75a5c28..19cfc18 100644 --- a/src/node/ServiceView.js +++ b/src/node/ServiceView.js @@ -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', }, { -- 2.39.2