wip: Reactify the api keys page #13411

This commit is contained in:
Johannes Schill
2018-09-25 16:23:43 +02:00
parent 31b8bf2d47
commit 353a836128
7 changed files with 171 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import ServerStats from 'app/features/admin/ServerStats';
import AlertRuleList from 'app/features/alerting/AlertRuleList';
import TeamPages from 'app/features/teams/TeamPages';
import TeamList from 'app/features/teams/TeamList';
import ApiKeys from 'app/features/api-keys/ApiKeysPage';
import FolderSettingsPage from 'app/features/folders/FolderSettingsPage';
import FolderPermissions from 'app/features/folders/FolderPermissions';
@@ -141,6 +142,13 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
templateUrl: 'public/app/features/org/partials/orgApiKeys.html',
controller: 'OrgApiKeysCtrl',
})
.when('/org/apikeys2', {
template: '<react-container />',
resolve: {
roles: () => ['Editor', 'Admin'],
component: () => ApiKeys,
},
})
.when('/org/teams', {
template: '<react-container />',
resolve: {