Fix not being able to open audio modal in web UI (#15283)
Fix #15280 Also adds the new action bar and blurhash-based background color to audio and video modals
This commit is contained in:
parent
59d943e152
commit
a8c471fcc0
7 changed files with 157 additions and 157 deletions
|
@ -192,8 +192,9 @@ class Status extends ImmutablePureComponent {
|
|||
return <div className='audio-player' style={{ height: '110px' }} />;
|
||||
}
|
||||
|
||||
handleOpenVideo = (media, options) => {
|
||||
this.props.onOpenVideo(this._properStatus().get('id'), media, options);
|
||||
handleOpenVideo = (options) => {
|
||||
const status = this._properStatus();
|
||||
this.props.onOpenVideo(status.get('id'), status.getIn(['media_attachments', 0]), options);
|
||||
}
|
||||
|
||||
handleOpenMedia = (media, index) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue