Merge pull request #3570 from thelounge/xpaw/fix-3568
Allow empty parameter overrides
This commit is contained in:
commit
87244fb4d5
@ -35,10 +35,6 @@ export default {
|
|||||||
const parsedParams = {};
|
const parsedParams = {};
|
||||||
|
|
||||||
for (let key of Object.keys(params)) {
|
for (let key of Object.keys(params)) {
|
||||||
if (!params[key]) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
let value = params[key];
|
let value = params[key];
|
||||||
|
|
||||||
// Param can contain multiple values in an array if its supplied more than once
|
// Param can contain multiple values in an array if its supplied more than once
|
||||||
|
Loading…
Reference in New Issue
Block a user