remove duplicate show call
this is already done in $scope.setView
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user