Undo reaction with clicking minus (#3773)
* Undo reaction with clicking minus * fix isMyNote
This commit is contained in:
@ -49,9 +49,12 @@
|
||||
<button v-else>
|
||||
<fa icon="ban"/>
|
||||
</button>
|
||||
<button :class="{ reacted: appearNote.myReaction != null }" @click="react()" v-if="!isMyNote" ref="reactButton">
|
||||
<button v-if="!isMyNote && appearNote.myReaction == null" class="reactionButton" @click="react()" ref="reactButton">
|
||||
<fa icon="plus"/>
|
||||
</button>
|
||||
<button v-if="!isMyNote && appearNote.myReaction != null" class="reactionButton reacted" @click="undoReact(appearNote)" ref="reactButton">
|
||||
<fa icon="minus"/>
|
||||
</button>
|
||||
<button class="menu" @click="menu()" ref="menuButton">
|
||||
<fa icon="ellipsis-h"/>
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user