Skip to content

Commit 23598de

Browse files
committed
fix missing docker tags
1 parent d1ff333 commit 23598de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

share/dashboard/app/dashboard.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ app.controller('DashboardController', function (
5959
$scope.grafanaConfigs = []
6060
$scope.showGC = false
6161

62-
$scope.missingDBTags = undefined;
63-
$scope.missingProxyTags = undefined;
62+
$scope.missingDBTags = [];
63+
$scope.missingProxyTags = [];
6464
$scope.promise = undefined;
6565

6666
$scope.showTable = false
@@ -482,11 +482,11 @@ app.controller('DashboardController', function (
482482
return passedTest;
483483
}
484484
$scope.agents = data.agents;
485-
$scope.SetApiTokenTimeout(data.config.apiTokenTimeout);
486485
$scope.missingDBTags = isInTags(data.configurator.configTags, data.configurator.dbServersTags, function (currentTag, dbTags) { return (dbTags.indexOf(currentTag) == -1); });
487486
$scope.missingProxyTags = isInTags(data.configurator.configPrxTags, data.configurator.proxyServersTags, function (currentTag, proxyTags) { return (proxyTags.indexOf(currentTag) == -1); });
488487
$scope.SetIgnoreErrors(data.config.monitoringIgnoreErrors);
489488
$scope.SetCaptureTrigger(data.config.monitoringCaptureTrigger);
489+
$scope.SetApiTokenTimeout(data.config.apiTokenTimeout);
490490

491491
$scope.reserror = false;
492492
}, function () {

0 commit comments

Comments
 (0)