#6797: Properly update API select query parameters when values already exist on the element
This commit is contained in:
parent
772c76e0a4
commit
5413263eff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -164,6 +164,13 @@ class APISelect {
|
|||
this.updateQueryParams(filter);
|
||||
}
|
||||
|
||||
// Add any already-resolved key/value pairs to the API query parameters.
|
||||
for (const [key, value] of this.filterParams.entries()) {
|
||||
if (isTruthy(value)) {
|
||||
this.queryParams.set(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
for (const filter of this.pathValues.keys()) {
|
||||
this.updatePathValues(filter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue