Correctly reset publishing state after immediate error
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