Skip to content

Commit

Permalink
LPS-174358 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
kresimir-coko committed Mar 10, 2023
1 parent cf209dc commit 186f6af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const FiltersDropdown = () => {

const onSearch = (query) => {
setQuery(query);

setFilters(
query
? initialFilters.filter(({label}) =>
Expand Down Expand Up @@ -77,6 +78,7 @@ const FiltersDropdown = () => {

{activeFilter.label}
</li>

<Filter {...activeFilter} />
</>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,11 @@ function SelectionFilter({
</div>
) : null}
</ClayDropDown.Caption>

<Divider />
</>
)}

<ClayDropDown.Caption className="pb-0">
<div className="row">
<div className="col">
Expand All @@ -291,7 +293,9 @@ function SelectionFilter({
</div>
</div>
</ClayDropDown.Caption>

<Divider />

<div className="pb-1 pl-3 pr-3 pt-1">
{items && !!items.length ? (
<ul
Expand Down Expand Up @@ -356,7 +360,9 @@ function SelectionFilter({
</div>
)}
</div>

<Divider />

<ClayDropDown.Caption>
<ClayButton
disabled={submitDisabled}
Expand Down

0 comments on commit 186f6af

Please sign in to comment.