Commit 720fa87b by Torkel Ödegaard

Moved dashboard save modals to components folder

parent 4358732d
import { SaveDashboardAsModalCtrl } from '../save_as_modal'; import { SaveDashboardAsModalCtrl } from './SaveDashboardAsModalCtrl';
import { describe, it, expect } from 'test/lib/common'; import { describe, it, expect } from 'test/lib/common';
describe('saving dashboard as', () => { describe('saving dashboard as', () => {
......
import { SaveDashboardModalCtrl } from '../save_modal'; import { SaveDashboardModalCtrl } from './SaveDashboardModalCtrl';
const setup = (timeChanged, variableValuesChanged, cb) => { const setup = (timeChanged, variableValuesChanged, cb) => {
const dash = { const dash = {
......
export { SaveDashboardAsModalCtrl } from './SaveDashboardAsModalCtrl';
export { SaveDashboardModalCtrl } from './SaveDashboardModalCtrl';
import './dashboard_ctrl'; import './dashboard_ctrl';
import './dashboard_loader_srv';
import './save_as_modal';
import './save_modal';
import './save_provisioned_modal'; import './save_provisioned_modal';
import './shareModalCtrl'; import './shareModalCtrl';
import './share_snapshot_ctrl'; import './share_snapshot_ctrl';
...@@ -18,6 +15,7 @@ import './panellinks/module'; ...@@ -18,6 +15,7 @@ import './panellinks/module';
// Services // Services
import './services/DashboardViewStateSrv'; import './services/DashboardViewStateSrv';
import './services/UnsavedChangesSrv'; import './services/UnsavedChangesSrv';
import './services/DashboardLoaderSrv';
// Components // Components
import './components/DashLinks'; import './components/DashLinks';
...@@ -30,6 +28,7 @@ import './components/DashboardSettings'; ...@@ -30,6 +28,7 @@ import './components/DashboardSettings';
import './components/SubMenu'; import './components/SubMenu';
import './components/TimePicker'; import './components/TimePicker';
import './components/UnsavedChangesModal'; import './components/UnsavedChangesModal';
import './components/SaveModals';
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions'; import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';
......
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