Skip to content

Commit 3009c0d

Browse files
committed
bugfix firstHistoryRequest.from || null
1 parent ef58da0 commit 3009c0d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

dist/widgets.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "widgets",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"description": "",
55
"main": "dist/widgets.js",
66
"directories": {

src/components/chart_by_time.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
it.hasInnerRequest = true;
9797
// last
9898
let firstHistoryRequest = _.first(it.historyRequests);
99-
it.context.query.request({from: firstHistoryRequest.from, till: firstHistoryRequest.till}, function (data, his) {
99+
it.context.query.request({from: (firstHistoryRequest.from || null), till: (firstHistoryRequest.till || null)}, function (data, his) {
100100
it.hasInnerRequest = true;
101101
// it.historyRequests.pop();
102102
it.historyRequests = [];

0 commit comments

Comments
 (0)