From 35b87ad5b912892586cab02d309b2bdb1b0acff9 Mon Sep 17 00:00:00 2001 From: Lisa Knox <lisaknox83@gmail.com> Date: Tue, 19 Mar 2024 13:57:04 -0400 Subject: [PATCH] 21357: added loadsidepaneltree to updatecollection Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com> --- .../src/store/collections/collection-update-actions.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/workbench2/src/store/collections/collection-update-actions.ts b/services/workbench2/src/store/collections/collection-update-actions.ts index d955c9478d..f6e52a4f80 100644 --- a/services/workbench2/src/store/collections/collection-update-actions.ts +++ b/services/workbench2/src/store/collections/collection-update-actions.ts @@ -22,6 +22,7 @@ import { updateResources } from "../resources/resources-actions"; import { loadDetailsPanel } from "../details-panel/details-panel-action"; import { getResource } from "store/resources/resources"; import { CollectionProperties } from "./collection-create-actions"; +import { loadSidePanelTreeProjects, SidePanelTreeCategory } from "store/side-panel-tree/side-panel-tree-actions"; export interface CollectionUpdateFormDialogData { uuid: string; @@ -65,6 +66,7 @@ export const updateCollection = (collection: CollectionUpdateFormDialogData) => })); dispatch<any>(updateResources([updatedCollection])); dispatch<any>(loadDetailsPanel(updatedCollection.uuid)); + dispatch<any>(loadSidePanelTreeProjects(SidePanelTreeCategory.FAVORITES)) }).catch (e => { dispatch(progressIndicatorActions.STOP_WORKING(COLLECTION_UPDATE_FORM_NAME)); const error = getCommonResourceServiceError(e); -- 2.30.2