mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
Moved unsaved changes service and modal
This commit is contained in:
parent
a4824085e3
commit
4358732d21
@ -0,0 +1 @@
|
||||
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
|
||||
|
@ -1,4 +1,4 @@
|
||||
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';
|
@ -1,6 +1,6 @@
|
||||
import angular from 'angular';
|
||||
import _ from 'lodash';
|
||||
import { DashboardModel } from './dashboard_model';
|
||||
import { DashboardModel } from '../dashboard_model';
|
||||
|
||||
export class ChangeTracker {
|
||||
current: any;
|
@ -1,5 +1,5 @@
|
||||
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) {
|
Loading…
Reference in New Issue
Block a user