Fix editing media descriptions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
972881be85
commit
0dbfd600bc
|
@ -119,7 +119,7 @@ const Upload: React.FC<IUpload> = ({ composeId, id }) => {
|
||||||
setDirtyDescription(null);
|
setDirtyDescription(null);
|
||||||
|
|
||||||
if (dirtyDescription !== null) {
|
if (dirtyDescription !== null) {
|
||||||
dispatch(changeUploadCompose(composeId, media.id, { dirtyDescription }));
|
dispatch(changeUploadCompose(composeId, media.id, { description: dirtyDescription }));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue