hide reply button if it's an email, since it will not work

This commit is contained in:
Danny Morabito 2024-11-29 17:55:04 +01:00
parent 1b2177933c
commit e4f1536eb0
Signed by: dannym
GPG key ID: 7CC8056A5A04557E

View file

@ -94,10 +94,12 @@
<span>{letter.stamp.amount} sats</span> <span>{letter.stamp.amount} sats</span>
</div> </div>
{/if} {/if}
<button class="reply-btn" onclick={handleReply}> {#if !letter.emailAddress}
<Icon icon="mdi:reply" /> <button class="reply-btn" onclick={handleReply}>
<span>Reply</span> <Icon icon="mdi:reply" />
</button> <span>Reply</span>
</button>
{/if}
</div> </div>
</div> </div>
</div> </div>