changeset 2768:0d9c006ac25a

import_overview: fix time-warp-bug for 'earlier' jumps
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 22 Mar 2019 10:04:16 +0100
parents 3063f1485ad6
children c2a2515c7a72
files client/src/components/importoverview/ImportOverview.vue
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importoverview/ImportOverview.vue	Fri Mar 22 09:48:12 2019 +0100
+++ b/client/src/components/importoverview/ImportOverview.vue	Fri Mar 22 10:04:16 2019 +0100
@@ -388,8 +388,7 @@
             this.$store.commit("imports/setStartDate", startOfDay(this.next));
             this.$store.commit(
               "imports/setEndDate",
-              addDays(startOfDay(this.next)),
-              7
+              addDays(startOfDay(this.next), 7)
             );
             break;
           case this.$options.LAST_30_DAYS: