Skip to content

Commit cb1d249

Browse files
committed
fix(facetedsearch): Bind the search filters show status
To ensure that the status is synchronised between the parent and the child component.
1 parent ed7700d commit cb1d249

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/lib/components/search/FacetedSearch.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
502502
<div class="search-layout">
503503
<SearchFilters
504-
show={showFilters}
504+
bind:show={showFilters}
505505
aggregations={searchAggregations}
506506
{total}
507507
bind:sortAggregationsBy={searchOptions.sortAggregationsBy}

frontend/src/lib/components/search/SearchFilters.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import RangeSlider from './RangeSlider.svelte';
55
66
let {
7-
show = false,
7+
show = $bindable(false),
88
aggregations = {},
99
total = 0,
1010
languageConjunction = $bindable(true),

0 commit comments

Comments
 (0)