Skip to content

Commit

Permalink
change default format to timeserie
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-szypulka committed Mar 2, 2020
1 parent e850bb3 commit 61cefbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/query_ctrl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/query_ctrl.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/query_ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class IPMQueryCtrl extends QueryCtrl {
this.target.timeAttribute = this.target.timeAttribute || 'WRITETIME';
this.target.valueAttribute = this.target.valueAttribute || 'displayValue';
this.target.timeRangeAttribute = this.target.timeRangeAttribute || 'dashboard';
this.target.format = this.target.format || 'table';
this.target.format = this.target.format || 'timeserie';
this.target.Attribute = this.target.Attribute || '';
this.target.alias = this.target.alias || this.target.Attribute;
this.setAttrSegments();
Expand Down
2 changes: 1 addition & 1 deletion src/query_ctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class IPMQueryCtrl extends QueryCtrl {
this.target.timeAttribute = this.target.timeAttribute || 'WRITETIME';
this.target.valueAttribute = this.target.valueAttribute || 'displayValue';
this.target.timeRangeAttribute = this.target.timeRangeAttribute || 'dashboard';
this.target.format = this.target.format || 'table';
this.target.format = this.target.format || 'timeserie';
this.target.Attribute = this.target.Attribute || '';
this.target.alias = this.target.alias || this.target.Attribute;
this.setAttrSegments();
Expand Down

0 comments on commit 61cefbd

Please sign in to comment.