mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Show expand button when previews defaulted to collapsed (#6896)
This commit is contained in:
committed by
Saturnino Abril
parent
1e7022ff6d
commit
046dbc5e81
@@ -187,7 +187,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent {
|
||||
);
|
||||
|
||||
const contents = [message];
|
||||
if (this.state.linkLoaded) {
|
||||
if (this.state.linkLoaded || this.props.previewCollapsed.startsWith('true')) {
|
||||
if (prependToggle) {
|
||||
contents.unshift(toggle);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user