Commit 673a393b authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][experimenteditor] Use get to test block parameters

If the value was not changed from the default, it won't be
dumped and thus when filtering, it won't be there.
parent 12c4383e
Pipeline #41346 passed with stage
in 11 minutes and 42 seconds
......@@ -1408,7 +1408,7 @@ class ExperimentEditor(AbstractAssetEditor):
parameter_value,
) in global_parameters.items():
if (
block_parameters[parameter_name]
block_parameters.get(parameter_name)
== parameter_value
):
block_parameters.pop(parameter_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment