FIX: The topic level bookmark button stops working if choose ‘No’ on the clearing all bookmarks confirmation modal (PR #13374)

Steps to reproduce the bug:

  • Create bookmarks for several posts on a topic
  • Click the topic level bookmark button, it’ll open the modal that asks to confirm clearing all bookmarks from the topic
  • Choose No
  • Try to push the topic level bookmark button again - it won’t work

This PR fixes the problem.

GitHub

LGTM :+1:

Any chances you could also add a test?

Sure, I’ll add a test :slight_smile: