mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 02:01:36 +01:00
[Glitch] Fix editing description of media uploads with custom thumbnails
Port 404f467fcf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
59a8066045
commit
a09a26da49
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ export default function compose(state = initialState, action) {
|
|||
.set('isUploadingThumbnail', false)
|
||||
.update('media_attachments', list => list.map(item => {
|
||||
if (item.get('id') === action.media.id) {
|
||||
return fromJS(action.media);
|
||||
return fromJS(action.media).set('unattached', item.get('unattached'));
|
||||
}
|
||||
|
||||
return item;
|
||||
|
|
Loading…
Reference in a new issue