Fix error flash is hidden when updating issue repeatedly
What does this MR do and why?
closes #356942 (closed)
Screenshots or screen recordings
| before | after |
|---|---|
![]() |
![]() |
How to set up and validate locally
- mock
updateIssuableinapp/assets/javascripts/issues/show/services/index.jsand give a422http status code and a json response like{"errors":["Description sensitive or illegal characters involved"]} - edit an existing issue, click
save changesbutton. - error flash will be shown, click
save changesbutton again. - error flash will still be shown.
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.
Edited by Kun Qian

