Skip to content

Commit

Permalink
Fix loading from search cache failing when no features are selected (#…
Browse files Browse the repository at this point in the history
…5775)

* Fix loading from search cache failing when no features are selected

* Fix it here too
  • Loading branch information
absidue committed Oct 1, 2024
1 parent b3f92e3 commit bb54eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/views/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit bb54eb2

Please sign in to comment.