Show loading icon only when making the request
What does this MR do?
We were showing the loading icon before the request was made in the cancel button. Now it is only visible once the user clicks in the confirmation button in the modal
Screenshots (if relevant)
Screen_Recording_2018-05-23_at_04.25_PM
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Conform by the code review guidelines
-
Has been reviewed by a UX Designer -
Has been reviewed by a Frontend maintainer -
Has been reviewed by a Backend maintainer -
Has been reviewed by a Database specialist
-
-
Conform by the merge request performance guides -
Conform by the style guides -
If you have multiple commits, please combine them into a few logically organized commits by squashing them -
Internationalization required/considered -
End-to-end tests pass ( package-and-qa
manual pipeline job)