fix(settings): drop stale label arg from RMM delete_lookup calls #236
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/MAPPS-228-rmm-delete-lookup-arity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
MAPPS-189 (
dd3485f) removed thekind/label parameter fromdelete_lookupwhen it moved destructive confirmation up-front into the styled ConfirmDialog, updating all settings call sites to the 2-arg form. The RMM admin UI (PR #211) was developed in parallel and added three new call sites (connections, device-mappings, alert-rules) still passing the old 3-arg form. Both merged to main, leaving 3-arg calls against the 2-arg definition, socargo clippy/cargo checkfailed to compile (E0061) and check.yml went red on every push and PR.The label was only ever used to build the native confirm prompt that no longer exists; the RMM delete error banners use hardcoded messages, so dropping the argument loses nothing. Removes the third argument at the three RMM call sites to match the current signature and the other ten lookup editors.
#MAPPS-228
Superseded: the RMM delete_lookup arity fix landed on main via #237. Closing this duplicate.
Pull request closed