feat: hide reply count (#1439)
* feat: hide reply count * fix(i18n): rearrange strings * style: new line
This commit is contained in:
parent
75c4fa54d7
commit
d26510a766
4 changed files with 11 additions and 2 deletions
|
@ -37,13 +37,13 @@ const reply = () => {
|
|||
<div flex-1>
|
||||
<StatusActionButton
|
||||
:content="$t('action.reply')"
|
||||
:text="status.repliesCount || ''"
|
||||
:text="!getPreferences(userSettings, 'hideReplyCount') && status.repliesCount || ''"
|
||||
color="text-blue" hover="text-blue" group-hover="bg-blue/10"
|
||||
icon="i-ri:chat-1-line"
|
||||
:command="command"
|
||||
@click="reply"
|
||||
>
|
||||
<template v-if="status.repliesCount" #text>
|
||||
<template v-if="status.repliesCount && !getPreferences(userSettings, 'hideReplyCount')" #text>
|
||||
<CommonLocalizedNumber
|
||||
keypath="action.reply_count"
|
||||
:count="status.repliesCount"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue