Commit 8d210afd by Hugo Häggmark

Moved AlertTab and StateHistory to app/features/alerting

parent 8e8b759b
...@@ -6,14 +6,14 @@ import { AngularComponent, getAngularLoader } from 'app/core/services/AngularLoa ...@@ -6,14 +6,14 @@ import { AngularComponent, getAngularLoader } from 'app/core/services/AngularLoa
import appEvents from 'app/core/app_events'; import appEvents from 'app/core/app_events';
// Components // Components
import { EditorTabBody, EditorToolbarView } from './EditorTabBody'; import { EditorTabBody, EditorToolbarView } from '../dashboard/dashgrid/EditorTabBody';
import EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA'; import EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';
import StateHistory from './StateHistory'; import StateHistory from './StateHistory';
import 'app/features/alerting/AlertTabCtrl'; import 'app/features/alerting/AlertTabCtrl';
// Types // Types
import { DashboardModel } from '../dashboard_model'; import { DashboardModel } from '../dashboard/dashboard_model';
import { PanelModel } from '../panel_model'; import { PanelModel } from '../dashboard/panel_model';
interface Props { interface Props {
angularPanel?: AngularComponent; angularPanel?: AngularComponent;
......
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import alertDef from '../../alerting/state/alertDef'; import alertDef from './state/alertDef';
import { getBackendSrv } from 'app/core/services/backend_srv'; import { getBackendSrv } from 'app/core/services/backend_srv';
import { DashboardModel } from '../dashboard_model'; import { DashboardModel } from '../dashboard/dashboard_model';
import appEvents from '../../../core/app_events'; import appEvents from '../../core/app_events';
interface Props { interface Props {
dashboard: DashboardModel; dashboard: DashboardModel;
......
...@@ -4,7 +4,7 @@ import classNames from 'classnames'; ...@@ -4,7 +4,7 @@ import classNames from 'classnames';
import { QueriesTab } from './QueriesTab'; import { QueriesTab } from './QueriesTab';
import { VisualizationTab } from './VisualizationTab'; import { VisualizationTab } from './VisualizationTab';
import { GeneralTab } from './GeneralTab'; import { GeneralTab } from './GeneralTab';
import { AlertTab } from './AlertTab'; import { AlertTab } from '../../alerting/AlertTab';
import config from 'app/core/config'; import config from 'app/core/config';
import { store } from 'app/store/store'; import { store } from 'app/store/store';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment