ui: render medium-wearout as percentage
This commit is contained in:
parent
6f3714b9aa
commit
ac4a1fb35c
@ -245,6 +245,12 @@ Ext.define('PBS.TapeManagement.DriveStatusGrid', {
|
|||||||
},
|
},
|
||||||
'medium-wearout': {
|
'medium-wearout': {
|
||||||
header: gettext('Tape Wearout'),
|
header: gettext('Tape Wearout'),
|
||||||
|
renderer: function(value) {
|
||||||
|
if (value !== undefined) {
|
||||||
|
return (value*100).toFixed(2) + "%";
|
||||||
|
}
|
||||||
|
return value;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user