Fixes like button not showing up for admins.
This commit is contained in:
parent
2b8c6d585f
commit
765b43cf4a
1 changed files with 2 additions and 1 deletions
|
|
@ -168,7 +168,8 @@ when defined(js):
|
||||||
tdiv(class="delete-button"):
|
tdiv(class="delete-button"):
|
||||||
button(class="btn"):
|
button(class="btn"):
|
||||||
italic(class="far fa-trash-alt")
|
italic(class="far fa-trash-alt")
|
||||||
else:
|
|
||||||
|
if not authoredByUser:
|
||||||
tdiv(class="like-button"):
|
tdiv(class="like-button"):
|
||||||
button(class="btn"):
|
button(class="btn"):
|
||||||
span(class="like-count"):
|
span(class="like-count"):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue