ui: set default deduplication factor to 1.0
This commit is contained in:
parent
e1d367df47
commit
c53797f627
@ -68,8 +68,10 @@ Ext.define('PBS.DataStoreInfo', {
|
|||||||
|
|
||||||
let gcstatus = store.getById('gc-status').data.value;
|
let gcstatus = store.getById('gc-status').data.value;
|
||||||
|
|
||||||
let dedup = (gcstatus['index-data-bytes'] || 0)/
|
let dedup = 1.0;
|
||||||
(gcstatus['disk-bytes'] || Infinity);
|
if (gcstatus['disk-bytes'] > 0) {
|
||||||
|
dedup = (gcstatus['index-data-bytes'] || 0)/gcstatus['disk-bytes'];
|
||||||
|
}
|
||||||
|
|
||||||
let countstext = function(count) {
|
let countstext = function(count) {
|
||||||
count = count || {};
|
count = count || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user