mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech: began reworking alerting list to mobx
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import './dashboard_loaders';
|
||||
import './ReactContainer';
|
||||
import { ServerStats } from 'app/containers/ServerStats/ServerStats';
|
||||
import { AlertRuleList } from 'app/containers/AlertRuleList/AlertRuleList';
|
||||
|
||||
/** @ngInject **/
|
||||
export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
@@ -225,6 +226,12 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
|
||||
controller: 'AlertListCtrl',
|
||||
controllerAs: 'ctrl',
|
||||
})
|
||||
.when('/alerting/list2', {
|
||||
template: '<react-container />',
|
||||
resolve: {
|
||||
component: () => AlertRuleList,
|
||||
},
|
||||
})
|
||||
.when('/alerting/notifications', {
|
||||
templateUrl: 'public/app/features/alerting/partials/notifications_list.html',
|
||||
controller: 'AlertNotificationsListCtrl',
|
||||
|
||||
Reference in New Issue
Block a user