This commit is contained in:
Evan 2026-08-23 15:08:42 +08:00 committed by GitHub
commit 2e6740b11a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1090,21 +1090,17 @@ Ext.define('PVE.node.StatusView', {
}
if (objValue.disabled === true) {
this.hide();
this.setPrintBar(false);
return '';
}
this.show();
const upsKeys = Object.keys(objValue).filter(function(k) {
return objValue[k] && typeof objValue[k] === 'object' && !Array.isArray(objValue[k]);
});
if (!upsKeys.length) {
this.hide();
this.setPrintBar(false);
return '';
}
this.show();
this.setPrintBar(true);
function formatRuntime(seconds) {