#4228 Fix not showing the edit and delete buttons when they won't work
Merged by pingou. Opened by pingou.
fix_edit_btns  into  master

Download 4228.patch

If there is no identifier (which is the case when the comment is added
using ajax rather than being received by SSE), the edit and delete
buttons on the comment won't work, so there is no point in showing them,
the users will just have to refresh the page to see them.

In addition, this commit removes the link to the comment itself, for the
same reason.

Fixes https://pagure.io/pagure/issue/4210

:thumbsup:

rebased onto 6960de88287354bdf6135633c219da293de6f99a

rebased onto a225965cd09ccc16a82c37da0f45a298912a73ed

Thanks for the review! :)

Pull-Request has been merged by pingou

Metadata