[ARVADOS-WORKBENCH2] created: 1.1.4-572-ga568ee3

Git user git at public.curoverse.com
Wed Aug 8 10:27:39 EDT 2018


        at  a568ee3c7ddab4aee95c2e3c0092cede4609e26a (commit)


commit a568ee3c7ddab4aee95c2e3c0092cede4609e26a
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Wed Aug 8 16:27:09 2018 +0200

    13992-creating-a-collection-within-a-project-does-not-refresh-the-list-of-collections
    
    Feature #13992
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/views-components/create-collection-dialog/create-collection-dialog.tsx b/src/views-components/create-collection-dialog/create-collection-dialog.tsx
index 3f8cc07..9bb469a 100644
--- a/src/views-components/create-collection-dialog/create-collection-dialog.tsx
+++ b/src/views-components/create-collection-dialog/create-collection-dialog.tsx
@@ -11,6 +11,7 @@ import { DialogCollectionCreate } from "../dialog-create/dialog-collection-creat
 import { collectionCreateActions, createCollection } from "../../store/collections/creator/collection-creator-action";
 import { snackbarActions } from "../../store/snackbar/snackbar-actions";
 import { UploadFile } from "../../store/collections/uploader/collection-uploader-actions";
+import { projectPanelActions } from "../../store/project-panel/project-panel-action";
 
 const mapStateToProps = (state: RootState) => ({
     open: state.collections.creator.opened
@@ -35,6 +36,7 @@ const addCollection = (data: { name: string, description: string }, files: File[
                 message: "Collection has been successfully created.",
                 hideDuration: 2000
             }));
+            dispatch(projectPanelActions.REQUEST_ITEMS());
         });
     };
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list