Moved dashboard save modals to components folder

This commit is contained in:
Torkel Ödegaard 2019-01-23 13:00:05 +01:00
parent 4358732d21
commit 720fa87b89
7 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import { SaveDashboardAsModalCtrl } from '../save_as_modal';
import { SaveDashboardAsModalCtrl } from './SaveDashboardAsModalCtrl';
import { describe, it, expect } from 'test/lib/common';
describe('saving dashboard as', () => {

View File

@ -1,4 +1,4 @@
import { SaveDashboardModalCtrl } from '../save_modal';
import { SaveDashboardModalCtrl } from './SaveDashboardModalCtrl';
const setup = (timeChanged, variableValuesChanged, cb) => {
const dash = {

View File

@ -0,0 +1,2 @@
export { SaveDashboardAsModalCtrl } from './SaveDashboardAsModalCtrl';
export { SaveDashboardModalCtrl } from './SaveDashboardModalCtrl';

View File

@ -1,7 +1,4 @@
import './dashboard_ctrl';
import './dashboard_loader_srv';
import './save_as_modal';
import './save_modal';
import './save_provisioned_modal';
import './shareModalCtrl';
import './share_snapshot_ctrl';
@ -18,6 +15,7 @@ import './panellinks/module';
// Services
import './services/DashboardViewStateSrv';
import './services/UnsavedChangesSrv';
import './services/DashboardLoaderSrv';
// Components
import './components/DashLinks';
@ -30,6 +28,7 @@ import './components/DashboardSettings';
import './components/SubMenu';
import './components/TimePicker';
import './components/UnsavedChangesModal';
import './components/SaveModals';
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';