### What? The status indicator was not updating properly when users were clicking "unpublish" and "revert changes" ### Why? hasPublishedDoc, unpublishedVersionCount and mostRecentVersionIsAutosaved states were not being updated properly. ### How? This PR updates the variables when interacting with the status actions and sets mostRecentVersionIsAutosaved to false when the publish button is clicked. Fixes https://github.com/payloadcms/payload/issues/9531