upd: add buttons to replies

This commit is contained in:
Mar0xy 2023-10-01 00:51:57 +02:00
parent 7b179d3a92
commit 2ea7e799fe
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
3 changed files with 206 additions and 3 deletions

View file

@ -118,7 +118,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</button>
<button v-if="appearNote.myReaction == null" ref="reactButton" :class="$style.noteFooterButton" class="_button" @mousedown="react()">
<i v-if="appearNote.reactionAcceptance === 'likeOnly'" class="ph-heart ph-bold ph-lg"></i>
<i v-else class="ph-plus ph-bold ph-lg"></i>
<i v-else class="ph-smiley ph-bold ph-lg"></i>
</button>
<button v-if="appearNote.myReaction != null" ref="reactButton" class="_button" :class="[$style.noteFooterButton, $style.reacted]" @click="undoReact(appearNote)">
<i class="ph-minus ph-bold ph-lg"></i>