cli: fix removing values when attribute has .get_object set
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
228eb7f62a
commit
ae31c0ddd7
@ -241,6 +241,7 @@ function remove_params(orig_params)
|
||||
delete val.allow_empty;
|
||||
val.args = {
|
||||
type: "enum",
|
||||
get_object: val.get_object,
|
||||
attribute: val.attribute ?? name,
|
||||
value: param_values,
|
||||
force_helptext: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user