From 8c35651281aabe8ed6bd2042ce473b0870995481 Mon Sep 17 00:00:00 2001 From: inportb Date: Tue, 16 May 2023 23:22:50 -0400 Subject: [PATCH] Fix erroneous date range adjustment --- htdocs/DateRangePicker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/DateRangePicker.vue b/htdocs/DateRangePicker.vue index 525779c..5a3763b 100644 --- a/htdocs/DateRangePicker.vue +++ b/htdocs/DateRangePicker.vue @@ -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)); } };