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];
|
||||
if (this.state.linkLoaded) {
|
||||
if (this.state.linkLoaded || this.props.previewCollapsed.startsWith('true')) {
|
||||
if (prependToggle) {
|
||||
contents.unshift(toggle);
|
||||
} else {
|
||||
|
||||
Ссылка в новой задаче
Block a user