This commit is contained in:
Luiz Silva 2025-01-30 23:16:19 -03:00
parent 773013d97f
commit 68407e24ab
4 changed files with 7 additions and 4 deletions

View file

@ -57,7 +57,7 @@ class TipagemRotas {
url.search = "";
const queryKeys = Object.entries(query);
for (const [key, value] of queryKeys) {
url.searchParams.set(String(key), value);
url.searchParams.set(String(key), value === undefined || value === null ? "" : value);
}
url.hash = "";
if (usarComoHash) {