fix: boots action count (#695)
parent
da7d85b1d0
commit
5e3156a638
|
@ -71,11 +71,11 @@ const reply = () => {
|
||||||
>
|
>
|
||||||
<template v-if="status.reblogsCount" #text>
|
<template v-if="status.reblogsCount" #text>
|
||||||
<i18n-t keypath="action.boost_count" :plural="status.reblogsCount">
|
<i18n-t keypath="action.boost_count" :plural="status.reblogsCount">
|
||||||
<CommonTooltip v-if="forSR(status.repliesCount)" :content="formatNumber(status.repliesCount)" placement="bottom">
|
<CommonTooltip v-if="forSR(status.reblogsCount)" :content="formatNumber(status.reblogsCount)" placement="bottom">
|
||||||
<span aria-hidden="true">{{ formatHumanReadableNumber(status.repliesCount) }}</span>
|
<span aria-hidden="true">{{ formatHumanReadableNumber(status.reblogsCount) }}</span>
|
||||||
<span sr-only>{{ formatNumber(status.repliesCount) }}</span>
|
<span sr-only>{{ formatNumber(status.reblogsCount) }}</span>
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
<span v-else>{{ formatHumanReadableNumber(status.repliesCount) }}</span>
|
<span v-else>{{ formatHumanReadableNumber(status.reblogsCount) }}</span>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</template>
|
</template>
|
||||||
</StatusActionButton>
|
</StatusActionButton>
|
||||||
|
|
Loading…
Reference in New Issue