Show expand button when previews defaulted to collapsed (#6896)
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
1e7022ff6d
Коммит
046dbc5e81
@@ -187,7 +187,7 @@ export default class PostBodyAdditionalContent extends React.PureComponent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const contents = [message];
|
const contents = [message];
|
||||||
if (this.state.linkLoaded) {
|
if (this.state.linkLoaded || this.props.previewCollapsed.startsWith('true')) {
|
||||||
if (prependToggle) {
|
if (prependToggle) {
|
||||||
contents.unshift(toggle);
|
contents.unshift(toggle);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user