Skip to content

Refresh widget after canceling "Merge When Pipeline Succeeds"

Stan Hu requested to merge sh-refresh-mr-widget-upon-cancel into master

Previously when a user clicked on "Cancel automatic merge", the merge request widget store would fail with currentUser is undefined because the cancel_auto_merge endpoint did not return user information.

Even after handling that problem, the merge request widget did not refresh until waiting for a while. We fix this by forcing a refresh after the cancellation is processed.

Closes #197487 (closed)

Edited by Stan Hu

Merge request reports