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

Merge pull request #5032 from metabase/fix-bulk-move-to-collection

Fix the bulk "move to collection" action
parents c9730f0d cc446a07
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