remove duplicate show call

this is already done in $scope.setView
This commit is contained in:
Girish Ramakrishnan
2019-12-16 15:54:01 -08:00
parent 71e9d7c4af
commit 55ae8404cd

View File

@@ -1051,15 +1051,6 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
], function (error) {
if (error) return Client.error(error);
$scope.display.show();
$scope.location.show();
$scope.resources.show();
$scope.access.show();
$scope.email.show();
$scope.security.show();
$scope.backups.show();
$scope.updates.show();
var refreshTimer = $interval(function () { refreshApp(); }, 2000); // call with inline function to avoid iteration argument passed see $interval docs
$scope.$on('$destroy', function () {
$interval.cancel(refreshTimer);