workflow-view-middleware-service
[arvados-workbench2.git] / src / store / collection-panel / collection-panel-action.ts
index 5b2690bfaf7a763f8e56620a25eee66f598847d5..97b6d49c7d25d154bd51471c94ef992fcb2d27f8 100644 (file)
@@ -34,6 +34,7 @@ export const loadCollectionPanel = (uuid: string) =>
         dispatch(collectionPanelActions.LOAD_COLLECTION({ uuid }));
         dispatch(collectionPanelFilesAction.SET_COLLECTION_FILES({ files: createTree() }));
         const collection = await services.collectionService.get(uuid);
+        dispatch(collectionPanelActions.LOAD_COLLECTION_SUCCESS({ item: collection }));
         dispatch(resourcesActions.SET_RESOURCES([collection]));
         dispatch<any>(loadCollectionFiles(collection.uuid));
         dispatch<any>(loadCollectionTags(collection.uuid));