Skip to content

Commit

Permalink
Fix URL encoding errorsç
Browse files Browse the repository at this point in the history
  • Loading branch information
R0MANDEV committed Oct 8, 2024
1 parent f101a28 commit f177bc3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@irontec/ivoz-ui",
"version": "1.6.0",
"version": "1.6.1",
"description": "UI library used in ivozprovider",
"license": "GPL-3.0",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion library/src/components/List/Content/FastSearchField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const FastSearchField = (

useEffect(() => {
//reset value
setValue((firstColumnCriteria?.value as string) || '');
setValue(decodeURIComponent(firstColumnCriteria?.value as string) || '');
}, [firstColumnCriteria]);

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function ContentFilterSelector(
const propertyFilters = filters[firstFilter] || [];

let preferredFilter = currentColumn?.preferredFilter || 'partial';

if (currentColumn && !currentColumn.preferredFilter) {
switch (true) {
case isPropertyScalar(currentColumn) &&
Expand All @@ -94,7 +94,7 @@ export default function ContentFilterSelector(
newCriteria[idx] = {
name,
type,
value,
value: decodeURIComponent(value),
};
setCriteria(newCriteria);
};
Expand Down

0 comments on commit f177bc3

Please sign in to comment.