From 899f2efbd6e5851c9a754d8da41b878896360859 Mon Sep 17 00:00:00 2001 From: aignatov-bio <47317017+aignatov-bio@users.noreply.github.com> Date: Thu, 24 Feb 2022 12:47:32 +0100 Subject: [PATCH] Fix blank state for dates range [SCI-6576] (#3893) Co-authored-by: Anton --- .../mixins/filters/range_date_time_filter.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/javascript/vue/repository_filter/mixins/filters/range_date_time_filter.js b/app/javascript/vue/repository_filter/mixins/filters/range_date_time_filter.js index 8c513c8a3..d08879b8b 100644 --- a/app/javascript/vue/repository_filter/mixins/filters/range_date_time_filter.js +++ b/app/javascript/vue/repository_filter/mixins/filters/range_date_time_filter.js @@ -38,9 +38,7 @@ export default { }, updateValue() { - if (this.date && this.dateTo) { - this.value = this.rangeObject(this.date, this.dateTo); - } + this.value = this.rangeObject(this.date, this.dateTo); } } }