Fix two agent authorization UI issues
What does this MR do and why?
Fixes two agent authorization UI issues:
- Fixed a console error caused by an invalid button variant set for the toggle modal.
- Fixed cut-off tabs.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
| Console log won't appear anymore. |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Set up a cluster agent in a project that belongs to group
gitlab-org. - Open the URL https://gdk.test:3443/groups/gitlab-org/-/settings/workspaces
- Switch between the "Allowed agents" and "All agents" tabs.
- Try "Allowing" an agent to trigger the console log error.


