1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

ui: hide zeros in status actions

This commit is contained in:
Anthony Fu 2022-12-13 21:01:04 +01:00
parent 4eb6834f11
commit 8f8e65e9db

View file

@ -35,7 +35,7 @@ const reply = () => {
<div flex-1>
<StatusActionButton
:content="$t('action.reply')"
:text="status.repliesCount"
:text="status.repliesCount || ''"
color="text-blue" hover="text-blue" group-hover="bg-blue/10"
icon="i-ri:chat-3-line"
:command="command"
@ -46,7 +46,7 @@ const reply = () => {
<div flex-1>
<StatusActionButton
:content="$t('action.boost')"
:text="status.reblogsCount"
:text="status.reblogsCount || ''"
color="text-green" hover="text-green" group-hover="bg-green/10"
icon="i-ri:repeat-line"
active-icon="i-ri:repeat-fill"
@ -60,7 +60,7 @@ const reply = () => {
<div flex-1>
<StatusActionButton
:content="$t('action.favourite')"
:text="status.favouritesCount"
:text="status.favouritesCount || ''"
color="text-rose" hover="text-rose" group-hover="bg-rose/10"
icon="i-ri:heart-3-line"
active-icon="i-ri:heart-3-fill"