fix(my-joy-beta): keep loading when removing

This commit is contained in:
Sérgio Ramos 2018-01-05 17:28:16 +00:00 committed by Sérgio Ramos
parent 6fb2dc85e6
commit 5a8c8e8fb2

View File

@ -337,7 +337,7 @@ export default compose(
});
// reverts the individual item mutation flags
const setMutatingFalse = selected.map(({ id }) =>
const setMutatingFalse = name !== 'remove' && selected.map(({ id }) =>
set({ name: `${id}-mutating`, value: false })
);