From a8ab1d9820b99c939890e9860c522f8e42283226 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 30 Jun 2021 21:21:55 +0200 Subject: [PATCH] node: services: fix logic for displaying unit state still hacky but at least works now ;-) Signed-off-by: Thomas Lamprecht --- 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 d55c57a..4344c63 100644 --- a/src/node/ServiceView.js +++ b/src/node/ServiceView.js @@ -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', }, { -- 2.39.2