Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
billangli committed Jul 25, 2020
1 parent 0c36bbe commit 7a39a23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/InputTimeInterval.vue
Expand Up @@ -95,12 +95,12 @@ export default {
},
methods: {
valueChanged(e) {
console.log("valueChanged");
console.log('valueChanged');
if (
this.mode == 'last_duration' ||
(!this.emptyDaterange && !this.invalidDaterange && !this.daterangeTooLong)
) {
console.log("entered if");
console.log('entered if');
this.value = e.target.value;
this.$emit('input', this.value);
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/Timeline.vue
Expand Up @@ -40,8 +40,8 @@ export default {
},
},
mounted: function () {
this.daterange = [moment().subtract(this.timeintervalDefaultDuration, 'seconds'), moment()],
this.getBuckets(this.daterange);
(this.daterange = [moment().subtract(this.timeintervalDefaultDuration, 'seconds'), moment()]),
this.getBuckets(this.daterange);
},
methods: {
getBuckets: async function () {
Expand Down

0 comments on commit 7a39a23

Please sign in to comment.