mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux: dashboard settings progress
This commit is contained in:
@@ -22,7 +22,6 @@ export class DashboardModel {
|
||||
graphTooltip: any;
|
||||
time: any;
|
||||
timepicker: any;
|
||||
hideControls: any;
|
||||
templating: any;
|
||||
annotations: any;
|
||||
refresh: any;
|
||||
@@ -67,7 +66,6 @@ export class DashboardModel {
|
||||
this.timezone = data.timezone || '';
|
||||
this.editable = data.editable !== false;
|
||||
this.graphTooltip = data.graphTooltip || 0;
|
||||
this.hideControls = data.hideControls || false;
|
||||
this.time = data.time || {from: 'now-6h', to: 'now'};
|
||||
this.timepicker = data.timepicker || {};
|
||||
this.templating = this.ensureListExist(data.templating);
|
||||
|
||||
Reference in New Issue
Block a user