Merge branch 'master' into 13903-edit-collection-popup
[arvados-workbench2.git] / src / store / collections / creator / collection-creator-action.ts
index 1dc82365130459ae2a01a4829ad55ecab5c43398..2f2b83850e5f226aeb9e3a857e1c5f937aa5e3e8 100644 (file)
@@ -21,7 +21,7 @@ export const collectionCreateActions = unionize({
 
 export const createCollection = (collection: Partial<CollectionResource>) =>
     (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
-        const { ownerUuid } = getState().collectionCreation.creator;
+        const { ownerUuid } = getState().collections.creator;
         const collectiontData = { ownerUuid, ...collection };
         dispatch(collectionCreateActions.CREATE_COLLECTION(collectiontData));
         return services.collectionService