Disable promote button for in flight request (bug)
What does this MR do and why?
Fixes #460126
This is a bugfix where the user would have an option of multiple clicks when the "promote" action is not disabled in header actions in issues
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 |
---|---|
When the item is not disabled | when item is disabled |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Go to any issue where you can see the option to "promote to epic" in the header or you can create any issue so that you have the permission of "promote to epic" option
- Click on the button and see that the button is disabled when the request is in flight hence preventing multiple clicks
Related to #460126
Edited by Deepika Guliani