From bb54eb20e32004dd97b7d4288f2a934f6d95dca7 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Tue, 1 Oct 2024 04:05:14 +0200 Subject: [PATCH] Fix loading from search cache failing when no features are selected (#5775) * Fix loading from search cache failing when no features are selected * Fix it here too --- src/renderer/views/Search/Search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/views/Search/Search.js b/src/renderer/views/Search/Search.js index 1b4984704bd3..0e06460b22a4 100644 --- a/src/renderer/views/Search/Search.js +++ b/src/renderer/views/Search/Search.js @@ -65,7 +65,7 @@ export default defineComponent({ time: this.$route.query.time, type: this.$route.query.type, duration: this.$route.query.duration, - features: features, + features: features ?? [], } const payload = { @@ -93,7 +93,7 @@ export default defineComponent({ time: this.$route.query.time, type: this.$route.query.type, duration: this.$route.query.duration, - features: features, + features: features ?? [], } const payload = {