File tree Expand file tree Collapse file tree 7 files changed +7
-6
lines changed
Expand file tree Collapse file tree 7 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default {
88 data : () => ({
99 searchkit: null ,
1010 searchClient: null ,
11+ aisFuture: { preserveSharedStateOnUnmount: true },
1112 }),
1213 async mounted () {
1314 this .searchkit = await this .initSearchkit ()
Original file line number Diff line number Diff line change 1515 <div >
1616 <ais-instant-search
1717 v-if =" listingSlotProps.searchClient"
18- :future =" { preserveSharedStateOnUnmount: true } "
18+ :future =" listingSlotProps.aisFuture "
1919 :search-client =" listingSlotProps.searchClient"
2020 :middlewares =" listingSlotProps.middlewares"
2121 :index-name =" listingSlotProps.index"
Original file line number Diff line number Diff line change 2020 <div >
2121 <ais-instant-search
2222 v-if =" listingSlotProps.searchClient"
23- :future =" { preserveSharedStateOnUnmount: true } "
23+ :future =" listingSlotProps.aisFuture "
2424 :search-client =" listingSlotProps.searchClient"
2525 :index-name =" listingSlotProps.index"
2626 :middlewares =" listingSlotProps.middlewares"
Original file line number Diff line number Diff line change 22 <div class =" relative w-full" >
33 <ais-instant-search
44 v-if =" autocompleteSlotProps.searchClient"
5- :future =" { preserveSharedStateOnUnmount: true } "
5+ :future =" autocompleteSlotProps.aisFuture "
66 :search-client =" autocompleteSlotProps.searchClient"
77 :middlewares =" autocompleteSlotProps.middlewares"
88 :index-name =" config.index.product"
Original file line number Diff line number Diff line change 22 <ais-state-results v-slot =" { query }" >
33 <ais-instant-search
44 v-if =" searchSuggestions.searchClient"
5- :future =" { preserveSharedStateOnUnmount: true } "
5+ :future =" searchSuggestions.aisFuture "
66 :index-name =" config.index.search_query"
77 :search-client =" searchSuggestions.searchClient"
88 >
Original file line number Diff line number Diff line change 2020 <search-suggestions v-slot =" searchSuggestions" >
2121 <ais-instant-search
2222 v-if =" searchSuggestions.searchClient"
23- :future =" { preserveSharedStateOnUnmount: true } "
23+ :future =" searchSuggestions.aisFuture "
2424 :index-name =" config.index.search_query"
2525 :search-client =" searchSuggestions.searchClient"
2626 >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function_score: {
1616 <div >
1717 <ais-instant-search
1818 v-if =" popularProducts.searchClient"
19- :future =" { preserveSharedStateOnUnmount: true } "
19+ :future =" popularProducts.aisFuture "
2020 :search-client =" popularProducts.searchClient"
2121 :index-name =" popularProducts.index"
2222 :middlewares =" popularProducts.middlewares"
You can’t perform that action at this time.
0 commit comments