Skip to content

Correctly reset publishing state after immediate error

Administrator requested to merge es/fix-publishing-btn into master

Created by: eseliger

This was caused when the error happened in between the gap of the request to publishCampaign succeeded and the fetch patches, causing it to never become truthy, so no flip. Instead, we should listen if any refetch was triggered.

Closes https://github.com/sourcegraph/sourcegraph/issues/10717

Merge request reports

Loading