From 7d3e2f9561e8cebfa7c3d4fddd8d2c586aadccd8 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Mon, 22 May 2023 09:50:30 -0400 Subject: [PATCH] 20031: Navigate to destination project when copying/moving files to separate collections Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- src/store/collections/collection-partial-copy-actions.ts | 1 + src/store/collections/collection-partial-move-actions.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/store/collections/collection-partial-copy-actions.ts b/src/store/collections/collection-partial-copy-actions.ts index f57a0321ce..899f87c968 100644 --- a/src/store/collections/collection-partial-copy-actions.ts +++ b/src/store/collections/collection-partial-copy-actions.ts @@ -197,6 +197,7 @@ export const copyCollectionPartialToSeparateCollections = ({ name, projectUuid } ) )); dispatch(updateResources(collections)); + dispatch(navigateTo(projectUuid)); dispatch(dialogActions.CLOSE_DIALOG({ id: COLLECTION_PARTIAL_COPY_TO_SEPARATE_COLLECTIONS })); dispatch(snackbarActions.OPEN_SNACKBAR({ diff --git a/src/store/collections/collection-partial-move-actions.ts b/src/store/collections/collection-partial-move-actions.ts index e4fc8186a7..206f8335a3 100644 --- a/src/store/collections/collection-partial-move-actions.ts +++ b/src/store/collections/collection-partial-move-actions.ts @@ -194,6 +194,7 @@ export const moveCollectionPartialToSeparateCollections = ({ name, projectUuid } ) )); dispatch(updateResources(collections)); + dispatch(navigateTo(projectUuid)); dispatch(dialogActions.CLOSE_DIALOG({ id: COLLECTION_PARTIAL_MOVE_TO_SEPARATE_COLLECTIONS })); dispatch(snackbarActions.OPEN_SNACKBAR({ -- 2.39.5