Tweak lowecasing, export Optios type

Signed-off-by: Jussi Hallila <jussi@hallila.com>
This commit is contained in:
Jussi Hallila
2021-09-15 15:31:03 +02:00
parent 65a2d67735
commit 9fb0503c15
4 changed files with 17 additions and 5 deletions
@@ -61,7 +61,7 @@ export const buildInitialFilters = (
return legacyPaths
? entityId
: Object.entries(entityId).reduce((acc, [key, value]) => {
return { ...acc, [key]: value.toLowerCase() };
return { ...acc, [key]: value.toLocaleLowerCase('en-US') };
}, {});
};