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:
Dominik Csapak 2021-03-05 12:03:54 +01:00 committed by Thomas Lamprecht
parent be3e4b4cb1
commit bbcc3b3c5c

View File

@ -11,6 +11,11 @@ Ext.define('pmx-disk-list', {
if (rec.data.health) {
return rec.data.health;
}
if (rec.data.type === 'partition') {
return "";
}
return Proxmox.Utils.unknownText;
},
},