From b9b782c0259f06f4ae743389403a6321b84cda1a Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Tue, 31 Jul 2018 15:30:06 +0200 Subject: [PATCH] Clean collection files when loading new collection Feature #13855 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- src/store/collection-panel/collection-panel-action.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/collection-panel/collection-panel-action.ts b/src/store/collection-panel/collection-panel-action.ts index aa9126b7..adc66471 100644 --- a/src/store/collection-panel/collection-panel-action.ts +++ b/src/store/collection-panel/collection-panel-action.ts @@ -20,6 +20,7 @@ export type CollectionPanelAction = UnionOf; export const loadCollection = (uuid: string, kind: ResourceKind) => (dispatch: Dispatch) => { dispatch(collectionPanelActions.LOAD_COLLECTION({ uuid, kind })); + dispatch(collectionPanelFilesAction.SET_COLLECTION_FILES({ manifest: [] })); return collectionService .get(uuid) .then(item => { -- 2.30.2