- The Delete button snippet does not work when trying to delete a snippet if it's opened from the snippet link from the snippet tab on the user's Bitbucket profile
- 'Edit' and 'Delete' buttons disappear when opening an existing snippet from the snippet link and going to the revision tab
Steps to reproduce:
1. Open a snippet from the snippet tab from the Bitbucket profile page
2. Try deleting the snippet by clicking the delete button
3. Go to 'Revisions' tab -> The 'Edit' and 'Delete' buttons are hidden
However, if a snippet is accessed from the snippets dropdown on top of the page... or after editing the snippet, the delete button works.
Refreshing the page on Source tab will work as well - Delete button will work again and the Edit/Delete button reappears