panel/DiskList: return empty text for status on partitions
instead of returning 'unknown' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
be3e4b4cb1
commit
bbcc3b3c5c
@ -11,6 +11,11 @@ Ext.define('pmx-disk-list', {
|
|||||||
if (rec.data.health) {
|
if (rec.data.health) {
|
||||||
return rec.data.health;
|
return rec.data.health;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (rec.data.type === 'partition') {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
return Proxmox.Utils.unknownText;
|
return Proxmox.Utils.unknownText;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user