Commit 4358732d by Torkel Ödegaard

Moved unsaved changes service and modal

parent a4824085
export { UnsavedChangesModalCtrl } from './UnsavedChangesModalCtrl';
......@@ -8,10 +8,8 @@ import './share_snapshot_ctrl';
import './dashboard_srv';
import './validation_srv';
import './time_srv';
import './unsaved_changes_srv';
import './unsaved_changes_modal';
import './upload';
import './ad_hoc_filters';
import './upload';
import './repeat_option/repeat_option';
import './dashgrid/DashboardGridDirective';
import './dashgrid/RowOptions';
......@@ -19,6 +17,7 @@ import './panellinks/module';
// Services
import './services/DashboardViewStateSrv';
import './services/UnsavedChangesSrv';
// Components
import './components/DashLinks';
......@@ -30,6 +29,8 @@ import './components/VersionHistory';
import './components/DashboardSettings';
import './components/SubMenu';
import './components/TimePicker';
import './components/UnsavedChangesModal';
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';
// angular wrappers
......
import { ChangeTracker } from 'app/features/dashboard/change_tracker';
import { ChangeTracker } from './ChangeTracker';
import { contextSrv } from 'app/core/services/context_srv';
import { DashboardModel } from '../dashboard_model';
import { PanelModel } from '../panel_model';
......
import angular from 'angular';
import _ from 'lodash';
import { DashboardModel } from './dashboard_model';
import { DashboardModel } from '../dashboard_model';
export class ChangeTracker {
current: any;
......
import angular from 'angular';
import { ChangeTracker } from './change_tracker';
import { ChangeTracker } from './ChangeTracker';
/** @ngInject */
export function unsavedChangesSrv(this: any, $rootScope, $q, $location, $timeout, contextSrv, dashboardSrv, $window) {
......
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