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.lolsob-rspec
parent
0ca5d449ca
commit
2e3c24d1c8
|
@ -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 New Issue