components: detailed status: suppress cards on quote posts

feature/quote
Ariadne Conill 2022-12-26 03:59:38 +00:00
parent 7d4127065d
commit 67a7b6067a
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class DetailedStatus extends ImmutablePureComponent {
); );
mediaIcons.push('picture-o'); mediaIcons.push('picture-o');
} }
} else if (status.get('card')) { } else if (!status.get('quote') && status.get('card')) {
media.push(<Card sensitive={status.get('sensitive')} onOpenMedia={this.props.onOpenMedia} card={status.get('card')} />); media.push(<Card sensitive={status.get('sensitive')} onOpenMedia={this.props.onOpenMedia} card={status.get('card')} />);
mediaIcons.push('link'); mediaIcons.push('link');
} }