JS: Fix scrutinizer warnings and indentation for filters

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-10-04 15:32:02 +02:00
committed by Julius Härtl
parent 516e396a58
commit 9014ae1490
4 changed files with 55 additions and 46 deletions

View File

@@ -20,10 +20,11 @@
*
*/
/** global: OC */
app.controller('AppController', function ($scope, $location, $http, $route, $log, $rootScope, $stateParams) {
$rootScope.sidebar = {
show: false
};
$scope.sidebar = $rootScope.sidebar;
$scope.user = oc_current_user;
$rootScope.sidebar = {
show: false
};
$scope.sidebar = $rootScope.sidebar;
$scope.user = oc_current_user;
});