FIX: Restore post edit button status when the deletion is not successful

When user tries to delete a post, the page will preload the deleted view and wait for the deletion result.

However, the original setting failed to restore the can_edit property, so that when the deletion is unsuccessful (e.g, reached daily limit), the edit button will disappear when restored without refreshing the topic.

1 Like