|
@@ -5,6 +5,7 @@ import ServerStats from 'app/features/admin/ServerStats';
|
|
|
import AlertRuleList from 'app/features/alerting/AlertRuleList';
|
|
import AlertRuleList from 'app/features/alerting/AlertRuleList';
|
|
|
import TeamPages from 'app/features/teams/TeamPages';
|
|
import TeamPages from 'app/features/teams/TeamPages';
|
|
|
import TeamList from 'app/features/teams/TeamList';
|
|
import TeamList from 'app/features/teams/TeamList';
|
|
|
|
|
+import PluginListPage from 'app/features/plugins/PluginListPage';
|
|
|
import FolderSettingsPage from 'app/features/folders/FolderSettingsPage';
|
|
import FolderSettingsPage from 'app/features/folders/FolderSettingsPage';
|
|
|
import FolderPermissions from 'app/features/folders/FolderPermissions';
|
|
import FolderPermissions from 'app/features/folders/FolderPermissions';
|
|
|
|
|
|
|
@@ -245,9 +246,10 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
|
|
controllerAs: 'ctrl',
|
|
controllerAs: 'ctrl',
|
|
|
})
|
|
})
|
|
|
.when('/plugins', {
|
|
.when('/plugins', {
|
|
|
- templateUrl: 'public/app/features/plugins/partials/plugin_list.html',
|
|
|
|
|
- controller: 'PluginListCtrl',
|
|
|
|
|
- controllerAs: 'ctrl',
|
|
|
|
|
|
|
+ template: '<react-container />',
|
|
|
|
|
+ resolve: {
|
|
|
|
|
+ component: () => PluginListPage,
|
|
|
|
|
+ },
|
|
|
})
|
|
})
|
|
|
.when('/plugins/:pluginId/edit', {
|
|
.when('/plugins/:pluginId/edit', {
|
|
|
templateUrl: 'public/app/features/plugins/partials/plugin_edit.html',
|
|
templateUrl: 'public/app/features/plugins/partials/plugin_edit.html',
|