Merge branch '16439-objects-creation-placement-fix'
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 3 Jun 2020 16:57:50 +0000 (13:57 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 3 Jun 2020 16:57:50 +0000 (13:57 -0300)
Refs #16439

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

1  2 
src/store/workbench/workbench-actions.ts

index c69325583957f8ad4f76c0eb20aee4656ccc74dd,7faad1e88b10a1586e1558e3639800e8c255aa77..e2ff01f7afa71c6df8e6434ce03d08a830f5c0fb
@@@ -237,7 -237,7 +237,7 @@@ export const createProject = (data: pro
                  kind: SnackbarKind.SUCCESS
              }));
              await dispatch<any>(loadSidePanelTreeProjects(newProject.ownerUuid));
-             dispatch<any>(reloadProjectMatchingUuid([newProject.ownerUuid]));
+             dispatch<any>(navigateTo(newProject.uuid));
          }
      };
  
@@@ -283,7 -283,7 +283,7 @@@ export const loadCollection = (uuid: st
                      OWNED: async collection => {
                          dispatch(collectionPanelActions.SET_COLLECTION(collection as CollectionResource));
                          dispatch(updateResources([collection]));
 -                        await dispatch(activateSidePanelTreeItem(collection.ownerUuid));
 +                        dispatch(activateSidePanelTreeItem(collection.ownerUuid));
                          dispatch(setSidePanelBreadcrumbs(collection.ownerUuid));
                          dispatch(loadCollectionPanel(collection.uuid));
                      },
@@@ -315,7 -315,7 +315,7 @@@ export const createCollection = (data: 
                  kind: SnackbarKind.SUCCESS
              }));
              dispatch<any>(updateResources([collection]));
-             dispatch<any>(reloadProjectMatchingUuid([collection.ownerUuid]));
+             dispatch<any>(navigateTo(collection.uuid));
          }
      };