agent_ui: Clean UI code a bit for the tool permission controls (#46902)

Just some housekeeping here, no changes in functionality and UI.

Release Notes:

- N/A
78d98773d6Danilo Leal committed on 1/15/2026, 1:34:44 PM· committed by GitHubparentcc62b53
1 file changedLine totals unavailable