From 3871e4e1a475913c9001f4e73c54ad9a123c1db6 Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Fri, 1 Mar 2024 11:50:28 +0100 Subject: [PATCH] (fix) Scinote is freezed at selecting time column in inventory filter [SCI-10278] --- .../vue/repository_filter/mixins/filters/date_time_filter.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/javascript/vue/repository_filter/mixins/filters/date_time_filter.js b/app/javascript/vue/repository_filter/mixins/filters/date_time_filter.js index ffe428ea2..0f9ad7876 100644 --- a/app/javascript/vue/repository_filter/mixins/filters/date_time_filter.js +++ b/app/javascript/vue/repository_filter/mixins/filters/date_time_filter.js @@ -82,6 +82,9 @@ export default { } }, updateDate(date) { + if (this.date && date && (this.date.setSeconds(0, 0) === date.setSeconds(0, 0))) { + return; + } this.date = date; this.updateValue(); },