Revert "Org users to react"

This commit is contained in:
Torkel Ödegaard
2018-10-03 09:40:37 +02:00
committed by GitHub
parent 38637f056f
commit fe4f2f71c3
39 changed files with 440 additions and 1860 deletions

View File

@@ -10,7 +10,6 @@ import PluginListPage from 'app/features/plugins/PluginListPage';
import FolderSettingsPage from 'app/features/folders/FolderSettingsPage';
import FolderPermissions from 'app/features/folders/FolderPermissions';
import DataSourcesListPage from 'app/features/datasources/DataSourcesListPage';
import UsersListPage from 'app/features/users/UsersListPage';
/** @ngInject */
export function setupAngularRoutes($routeProvider, $locationProvider) {
@@ -134,10 +133,9 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
controller: 'NewOrgCtrl',
})
.when('/org/users', {
template: '<react-container />',
resolve: {
component: () => UsersListPage,
},
templateUrl: 'public/app/features/org/partials/orgUsers.html',
controller: 'OrgUsersCtrl',
controllerAs: 'ctrl',
})
.when('/org/users/invite', {
templateUrl: 'public/app/features/org/partials/invite.html',