config: updated feature toggle name

This commit is contained in:
Hugo Häggmark
2019-03-12 07:32:47 +01:00
committed by Leonard Gram
parent a6a3d698da
commit a90b3e331e
14 changed files with 18 additions and 19 deletions

View File

@@ -207,7 +207,7 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
.when('/org/teams/edit/:id/:page?', {
template: '<react-container />',
resolve: {
roles: () => (config.editorsCanOwn ? ['Editor', 'Admin'] : ['Admin']),
roles: () => (config.editorsCanAdmin ? ['Editor', 'Admin'] : ['Admin']),
component: () => TeamPages,
},
})