ux: dashboard settings progress

This commit is contained in:
Torkel Ödegaard
2017-12-10 12:41:11 +01:00
parent 00c723f04a
commit 511fa7dec1
11 changed files with 336 additions and 357 deletions

View File

@@ -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);