mirror of
https://github.com/mastodon/mastodon.git
synced 2025-12-12 07:33:02 +00:00
Change preview cards to be shown when Content Warnings are expanded (#33827)
This commit is contained in:
parent
44e38b79de
commit
2954c2facb
|
|
@ -520,7 +520,7 @@ class Status extends ImmutablePureComponent {
|
||||||
</Bundle>
|
</Bundle>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else if (status.get('spoiler_text').length === 0 && status.get('card')) {
|
} else if (status.get('card')) {
|
||||||
media = (
|
media = (
|
||||||
<Card
|
<Card
|
||||||
onOpenMedia={this.handleOpenMedia}
|
onOpenMedia={this.handleOpenMedia}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user