mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 01:24:02 -05:00
Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
commit
9ab4e3fc6d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user