|
|
@ -112,7 +112,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
let media = '';
|
|
|
|
let media = null;
|
|
|
|
let mediaIcon = null;
|
|
|
|
let mediaIcon = null;
|
|
|
|
let applicationLink = '';
|
|
|
|
let applicationLink = '';
|
|
|
|
let reblogLink = '';
|
|
|
|
let reblogLink = '';
|
|
|
@ -163,8 +163,8 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
mediaIcon = 'picture-o';
|
|
|
|
mediaIcon = 'picture-o';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else if (status.get('card')) {
|
|
|
|
media = <Card onOpenMedia={this.props.onOpenMedia} card={status.get('card', null)} />;
|
|
|
|
media = <Card onOpenMedia={this.props.onOpenMedia} card={status.get('card')} />;
|
|
|
|
mediaIcon = 'link';
|
|
|
|
mediaIcon = 'link';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|