admin: Make menu items active on rights pages
This commit is contained in:
parent
3c237819c3
commit
bd35705f58
2 changed files with 11 additions and 10 deletions
|
@ -450,7 +450,8 @@ angular.module("FICApp")
|
|||
};
|
||||
})
|
||||
|
||||
.run(function($rootScope, $http, $interval, Settings) {
|
||||
.run(function($rootScope, $http, $interval, Settings, $location) {
|
||||
$rootScope.$location = $location;
|
||||
function refresh() {
|
||||
$http.get("api/settings.json").then(function(response) {
|
||||
response.data.start = new Date(response.data.start);
|
||||
|
|
Reference in a new issue