Clean up collapsible components
This commit is contained in:
parent
2d8a4c4390
commit
677e95031e
3 changed files with 38 additions and 25 deletions
|
@ -89,7 +89,7 @@ function removeMedia(state, mediaId) {
|
|||
map.update('text', text => text.replace(media.get('text_url'), '').trim());
|
||||
|
||||
if (prevSize === 1) {
|
||||
map.update('sensitive', false);
|
||||
map.set('sensitive', false);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue