Merge branch 'main' into glitch-soc/merge-upstream

remotes/1705712285054221092/tmp_refs/heads/main^2
Claire 2022-11-14 18:31:04 +01:00
commit 9ab4e3fc6d
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ export default function compose(state = initialState, action) {
.setIn(['media_modal', 'dirty'], 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', true);
}
return item;