Commit 9d18bfa3 authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Fix edit button and emoji dropdown for anon user.

parent 70a322c5
...@@ -87,10 +87,11 @@ ...@@ -87,10 +87,11 @@
<span <span
v-if="accessLevel" v-if="accessLevel"
class="note-role">{{accessLevel}}</span> class="note-role">{{accessLevel}}</span>
<div class="note-actions-item"> <div
v-if="canAddAwardEmoji"
class="note-actions-item">
<a <a
v-tooltip v-tooltip
v-if="canAddAwardEmoji"
:class="{ 'js-user-authored': isAuthoredByCurrentUser }" :class="{ 'js-user-authored': isAuthoredByCurrentUser }"
class="note-action-button note-emoji-button js-add-award js-note-emoji" class="note-action-button note-emoji-button js-add-award js-note-emoji"
data-position="right" data-position="right"
...@@ -113,7 +114,9 @@ ...@@ -113,7 +114,9 @@
</span> </span>
</a> </a>
</div> </div>
<div class="note-actions-item"> <div
v-if="canEdit"
class="note-actions-item">
<button <button
@click="onEdit" @click="onEdit"
v-tooltip v-tooltip
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment