Add feature object and show/hide elements accordingly

This commit is contained in:
Johannes Zellner
2020-02-13 15:30:31 +01:00
parent 3dd0566f48
commit a13414ddb9
7 changed files with 135 additions and 98 deletions

View File

@@ -7,6 +7,7 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
$scope.config = Client.getConfig();
$scope.features = Client.getFeatures();
$scope.busy = false;
$scope.eventLogs = [];