mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 12:44:10 -06:00
Moved dashboard settings to components
This commit is contained in:
parent
dfe9252f54
commit
08f7e55ae5
@ -1,5 +1,5 @@
|
||||
import { coreModule, appEvents, contextSrv } from 'app/core/core';
|
||||
import { DashboardModel } from '../dashboard_model';
|
||||
import { DashboardModel } from '../../dashboard_model';
|
||||
import $ from 'jquery';
|
||||
import _ from 'lodash';
|
||||
import angular from 'angular';
|
||||
@ -230,7 +230,7 @@ export class SettingsCtrl {
|
||||
export function dashboardSettings() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'public/app/features/dashboard/settings/settings.html',
|
||||
templateUrl: 'public/app/features/dashboard/components/DashboardSettings/template.html',
|
||||
controller: SettingsCtrl,
|
||||
bindToController: true,
|
||||
controllerAs: 'ctrl',
|
@ -0,0 +1 @@
|
||||
export { SettingsCtrl } from './SettingsCtrl';
|
@ -19,7 +19,6 @@ import './ad_hoc_filters';
|
||||
import './repeat_option/repeat_option';
|
||||
import './dashgrid/DashboardGridDirective';
|
||||
import './dashgrid/RowOptions';
|
||||
import './settings/settings';
|
||||
import './panellinks/module';
|
||||
import './components/DashLinks';
|
||||
import './components/DashExportModal';
|
||||
@ -27,6 +26,7 @@ import './components/DashNav';
|
||||
import './components/ExportDataModal';
|
||||
import './components/FolderPicker';
|
||||
import './components/VersionHistory';
|
||||
import './components/DashboardSettings';
|
||||
import DashboardPermissions from './components/DashboardPermissions/DashboardPermissions';
|
||||
|
||||
// angular wrappers
|
||||
|
Loading…
Reference in New Issue
Block a user