toggle navibar visibility

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
This commit is contained in:
Artem Anufrij
2017-06-09 18:58:45 +02:00
parent e7b095591a
commit ac39568ff6
4 changed files with 15 additions and 2 deletions

View File

@@ -24,6 +24,10 @@ app.controller('AppController', function ($scope, $location, $http, $route, $log
$rootScope.sidebar = {
show: false
};
$rootScope.navibar = {
show: true
};
$scope.sidebar = $rootScope.sidebar;
$scope.navibar = $rootScope.navibar;
$scope.user = oc_current_user;
});