mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Migration: Create org (#22542)
* Add NewOrgPage * Remove filrs * Remove import * Remove comments * Get navModel from Redux * Add DTO * Get nav model from state * Change error display * Add async await and check if org is available * Fix null strict null error * Update public/app/features/org/NewOrgPage.tsx Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com> Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
@@ -219,8 +219,10 @@ export function setupAngularRoutes($routeProvider: route.IRouteProvider, $locati
|
||||
},
|
||||
})
|
||||
.when('/org/new', {
|
||||
templateUrl: 'public/app/features/org/partials/newOrg.html',
|
||||
controller: 'NewOrgCtrl',
|
||||
template: '<react-container />',
|
||||
resolve: {
|
||||
component: () => SafeDynamicImport(import(/* webpackChunkName: "NewOrgPage" */ 'app/features/org/NewOrgPage')),
|
||||
},
|
||||
})
|
||||
.when('/org/users', {
|
||||
template: '<react-container />',
|
||||
|
||||
Reference in New Issue
Block a user