Fix translation for graph time selection and display

This commit is contained in:
Johannes Zellner
2021-04-01 16:05:13 +02:00
parent 850ff87849
commit 465fc427d6
13 changed files with 29 additions and 28 deletions

View File

@@ -650,13 +650,11 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
error: {},
period: 12, // set as 12 because disk graphs is only collected twice a day
periodLabel: '12 hours',
memoryChart: null,
diskChart: null,
setPeriod: function (hours, label) {
setPeriod: function (hours) {
$scope.graphs.period = hours;
$scope.graphs.periodLabel = label;
$scope.graphs.show();
},