mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 17:59:28 -05:00
cli: fix removing values when attribute has .get_object set
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user