Update modal token when its resetting
requested to merge 351114-install-a-runner-modal-doesn-t-get-updated-upon-resetting-the-token into master
What does this MR do and why?
Fix when runner registration token is not updated after reset.
Changelog: fixed
Related to #351114 (closed)
Screenshots or screen recordings
How to set up and validate locally
- Visit Admin -> Runners http://gdk.test:3000/admin/runners
- Click on "Register an instance runner" to open the dropdown, and then on "Show runner installation and registration instructions" to open the modal
- Check the runner token at the bottom of the instructions
- Click on "Reset registration token" in the dropdown and confirm
- Click on "Register an instance runner" to open the dropdown, and then on "Show runner installation and registration instructions" to open the modal
- Check the runner token at the bottom of the instructions has been updated
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.