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 = {