Fix media description in various media modals

This commit is contained in:
Thibaut Girka
2018-09-11 15:45:51 +02:00
committed by ThibG
parent ac6fb758b9
commit 59de2868c1
4 changed files with 5 additions and 3 deletions

View File

@@ -261,11 +261,12 @@ export default class Video extends React.PureComponent {
}
handleOpenVideo = () => {
const { src, preview, width, height } = this.props;
const { src, preview, width, height, alt } = this.props;
const media = fromJS({
type: 'video',
url: src,
preview_url: preview,
description: alt,
width,
height,
});