Fix erroneous date range adjustment

This commit is contained in:
Jiang Yio 2023-05-16 23:22:50 -04:00
parent 827a6596c7
commit 8c35651281

View File

@ -156,7 +156,7 @@
timeshift, timeshift_month
},
mounted() {
this.$emit('update:date_end', this.x_date_end = datecalc(this.x_date, this.x_range, this.direction));
if(this.x_range != 'Range') this.$emit('update:date_end', this.x_date_end = datecalc(this.x_date, this.x_range, this.direction));
}
};
</script>