Skip to content

Commit

Permalink
send tip button in every chat message
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Oct 4, 2024
1 parent 97ec52b commit e18430f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion components/chat/ChatMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,19 @@
data-bs-toggle="modal"
:data-bs-target="'#deleteModal' + storageId"
>
<i class="bi bi-trash" /> Delete
<i class="bi bi-trash"></i> Delete
</span>

<!-- Send tip to author -->
<NuxtLink
v-if="!isCurrentUserAuthor && $config.showFeatures.sendTokens"
class="ms-2 cursor-pointer link-without-color"
:to="'/send-tokens/?to=' + showDomainOrFullAddress"
>
<i class="bi bi-send"></i>
Send tip
</NuxtLink>

</p>

</div>
Expand Down

0 comments on commit e18430f

Please sign in to comment.