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.
이 커밋은 다음에 포함됨:
ThibG
2020-03-10 18:39:47 +01:00
커밋한 사람 GitHub
부모 51a1fbaafc
커밋 aeebbe90dc
+1 -1
파일 보기
@@ -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 = (