mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 12:58:06 +01:00
Fix detailed view of direct messages displaying a 0 boost count (#13244)
The boost count is already removed from private toots, do the same with direct messages.
This commit is contained in:
parent
51a1fbaafc
commit
aeebbe90dc
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
reblogIcon = 'lock';
|
||||
}
|
||||
|
||||
if (status.get('visibility') === 'private') {
|
||||
if (['private', 'direct'].includes(status.get('visibility'))) {
|
||||
reblogLink = <Icon id={reblogIcon} />;
|
||||
} else if (this.context.router) {
|
||||
reblogLink = (
|
||||
|
|
Loading…
Reference in a new issue