Selaa lähdekoodia

Moved dashboard srv and snapshot ctrl

Torkel Ödegaard 7 vuotta sitten
vanhempi
commit
2f08c56260

+ 0 - 0
public/app/features/dashboard/share_snapshot_ctrl.ts → public/app/features/dashboard/components/ShareModal/ShareSnapshotCtrl.ts


+ 1 - 0
public/app/features/dashboard/components/ShareModal/index.ts

@@ -1 +1,2 @@
 export { ShareModalCtrl } from './ShareModalCtrl';
+export { ShareSnapshotCtrl } from './ShareSnapshotCtrl';

+ 1 - 2
public/app/features/dashboard/index.ts

@@ -1,6 +1,4 @@
 import './dashboard_ctrl';
-import './share_snapshot_ctrl';
-import './dashboard_srv';
 import './validation_srv';
 import './time_srv';
 import './ad_hoc_filters';
@@ -14,6 +12,7 @@ import './panellinks/module';
 import './services/DashboardViewStateSrv';
 import './services/UnsavedChangesSrv';
 import './services/DashboardLoaderSrv';
+import './services/DashboardSrv';
 
 // Components
 import './components/DashLinks';

+ 1 - 1
public/app/features/dashboard/dashboard_srv.ts → public/app/features/dashboard/services/DashboardSrv.ts

@@ -1,5 +1,5 @@
 import coreModule from 'app/core/core_module';
-import { DashboardModel } from './dashboard_model';
+import { DashboardModel } from '../dashboard_model';
 import locationUtil from 'app/core/utils/location_util';
 
 export class DashboardSrv {