Skip to content

Commit

Permalink
Merge branch 'release/20181030-02'
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsusek committed Oct 30, 2018
2 parents 7d5ecb4 + d14ae0b commit ee50d26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/ESChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ export default {
let gte;
if (this.timeType === 'iso') {
lte = Math.trunc(+new Date());
gte = moment().subtract(Object.values(this.timespan)[0], Object.keys(this.timespan)[0]).valueOf();
gte = `now-${intervalFromTimeframe(this.timespan)}`;
lte = 'now';
} else if (this.timeType === 'unix_ms') {
lte = Math.trunc(+new Date());
gte = moment().subtract(Object.values(this.timespan)[0], Object.keys(this.timespan)[0]).valueOf();
Expand Down
2 changes: 1 addition & 1 deletion src/components/EventTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default {
let to;
if (this.timeType === 'iso') {
to = intervalFromTimeframe(this.timeframe);
to = `${this.from}||+${intervalFromTimeframe(this.timeframe)}`;
} else if (this.timeType === 'unix_ms') {
to = this.from + msFromTimeframe(this.timeframe);
} else {
Expand Down

0 comments on commit ee50d26

Please sign in to comment.