Browse Source

Don't show undefined if metric is bytes in speedometer slider (#1951)

pull/1959/head
puzzledsab 4 years ago
committed by GitHub
parent
commit
06f9e28170
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      interfaces/Glitter/templates/static/javascripts/glitter.main.js

2
interfaces/Glitter/templates/static/javascripts/glitter.main.js

@ -21,7 +21,7 @@ function ViewModel() {
self.extraQueueColumns = ko.observableArray([]).extend({ persist: 'extraColumns' });
self.extraHistoryColumns = ko.observableArray([]).extend({ persist: 'extraHistoryColumns' });
self.showActiveConnections = ko.observable(false).extend({ persist: 'showActiveConnections' });
self.speedMetrics = { K: "KB/s", M: "MB/s", G: "GB/s" };
self.speedMetrics = { '': "B/s", K: "KB/s", M: "MB/s", G: "GB/s" };
// Set information varibales
self.title = ko.observable();

Loading…
Cancel
Save