Fix smart filters multiple conditions (#2400)
Co-authored-by: Oleg Shur <workshur@gmail.com>
This commit is contained in:
parent
95a0306143
commit
26d800f997
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ const Filters: React.FC<FiltersProps> = ({
|
|||
|
||||
const newProps = omitBy(props, (v) => v === undefined || v === '');
|
||||
const qs = Object.keys(newProps)
|
||||
.map((key) => `${key}=${newProps[key]}`)
|
||||
.map((key) => `${key}=${encodeURIComponent(newProps[key] as string)}`)
|
||||
.join('&');
|
||||
|
||||
navigate({
|
||||
|
|
Loading…
Add table
Reference in a new issue