derive features from edition

This commit is contained in:
Girish Ramakrishnan
2018-08-28 21:35:17 -07:00
parent be2afec86b
commit 60107147c2
6 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.spacesSuffix = $scope.user.username.replace(/\./g, '-');
if ($scope.user.admin || $scope.config.spaces) {
if ($scope.user.admin || $scope.config.features.spaces) {
fetchUsers();
fetchGroups();
getDomains();