Merge 5be35ea2d4 into de13e2329b
This commit is contained in:
commit
2e6740b11a
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user