[arvados-workbench2] updated: 2.7.0-141-gfa88d594

git repository hosting git at public.arvados.org
Wed Oct 11 15:10:13 UTC 2023


Summary of changes:
 src/store/workbench/workbench-actions.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  fa88d59460b053577e5403e27465495d369353f6 (commit)
      from  ad73e81695d3501253f64acd5a63e83deb45c279 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit fa88d59460b053577e5403e27465495d369353f6
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Oct 11 10:32:56 2023 -0400

    15768: fixed rename of single collection bug Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/store/workbench/workbench-actions.ts b/src/store/workbench/workbench-actions.ts
index 294aeaf8..bf21bd3f 100644
--- a/src/store/workbench/workbench-actions.ts
+++ b/src/store/workbench/workbench-actions.ts
@@ -437,7 +437,7 @@ export const copyCollection = (data: CopyFormDialogData) => async (dispatch: Dis
     }
 
     async function copySingleCollection(copyToProject: CollectionCopyResource) {
-        const newName = data.isSingle ? data.name : `Copy of: ${copyToProject.name}`;
+        const newName = data.isSingle || collectionsToCopy.length === 1 ? data.name : `Copy of: ${copyToProject.name}`;
         try {
             const collection = await dispatch<any>(
                 collectionCopyActions.copyCollection({

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list