Change poll options to alphabetic letters when status text is hidden (#10685)
Fix #10569
This commit is contained in:
parent
2c12620adb
commit
6fe474837c
3 changed files with 10 additions and 8 deletions
|
@ -106,7 +106,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
|||
}
|
||||
|
||||
if (status.get('poll')) {
|
||||
media = <PollContainer pollId={status.get('poll')} />;
|
||||
media = <PollContainer pollId={status.get('poll')} visible={!status.get('hidden')} />;
|
||||
} else if (status.get('media_attachments').size > 0) {
|
||||
if (status.getIn(['media_attachments', 0, 'type']) === 'video') {
|
||||
const video = status.getIn(['media_attachments', 0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue