Show expand button when previews defaulted to collapsed (#6896)

Этот коммит содержится в:
Joram Wilander
2017-07-10 14:52:28 -04:00
коммит произвёл Saturnino Abril
родитель 1e7022ff6d
Коммит 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 {