Skip to content
Snippets Groups Projects
Commit cc446a07 authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix the bulk "move to collection" action

parent ec5556c9
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ export const setCollection = createThunkAction(SET_COLLECTION, (cardId, collecti
)));
MetabaseAnalytics.trackEvent("Questions", "Bulk Move to Collection");
}
selected.map(item => dispatch(setCollection(item.id, collectionId)));
selected.map(item => dispatch(setCollection(item.id, { id: collectionId })));
} else {
const collection = _.findWhere(state.collections.collections, { id: collectionId });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment