fix: support for empty strings
This commit is contained in:
parent
37d0f9438e
commit
8eb0183c78
@ -767,7 +767,7 @@ function getUrlInfo(
|
||||
const qp = new URLSearchParams();
|
||||
let withParams = false;
|
||||
Object.entries(params).forEach(([name, value]) => {
|
||||
if (value) {
|
||||
if (value !== undefined) {
|
||||
withParams = true;
|
||||
qp.append(name, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user