mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
Moved submenu into components dir
This commit is contained in:
parent
08f7e55ae5
commit
2356057f20
@ -1,7 +1,7 @@
|
||||
import angular from 'angular';
|
||||
import _ from 'lodash';
|
||||
|
||||
export class SubmenuCtrl {
|
||||
export class SubMenuCtrl {
|
||||
annotations: any;
|
||||
variables: any;
|
||||
dashboard: any;
|
||||
@ -29,8 +29,8 @@ export class SubmenuCtrl {
|
||||
export function submenuDirective() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'public/app/features/dashboard/submenu/submenu.html',
|
||||
controller: SubmenuCtrl,
|
||||
templateUrl: 'public/app/features/dashboard/components/SubMenu/template.html',
|
||||
controller: SubMenuCtrl,
|
||||
bindToController: true,
|
||||
controllerAs: 'ctrl',
|
||||
scope: {
|
@ -0,0 +1 @@
|
||||
export { SubMenuCtrl } from './SubMenuCtrl';
|
@ -1,7 +1,6 @@
|
||||
import './dashboard_ctrl';
|
||||
import './alerting_srv';
|
||||
import './dashboard_loader_srv';
|
||||
import './submenu/submenu';
|
||||
import './save_as_modal';
|
||||
import './save_modal';
|
||||
import './save_provisioned_modal';
|
||||
@ -27,6 +26,7 @@ import './components/ExportDataModal';
|
||||
import './components/FolderPicker';
|
||||
import './components/VersionHistory';
|
||||
import './components/DashboardSettings';
|
||||
import './components/SubMenu';
|
||||
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';
|
||||
|
||||
// angular wrappers
|
||||
|
Loading…
Reference in New Issue
Block a user