[arvados-workbench2] updated: 2.6.0-91-g05132236

git repository hosting git at public.arvados.org
Fri Sep 8 17:07:14 UTC 2023


Summary of changes:
 src/views-components/context-menu/action-sets/collection-action-set.ts | 2 +-
 src/views-components/dialog-copy/dialog-copy.tsx                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  05132236c874d69a06b379b835131861c3e5926a (commit)
      from  26cb1fd09826e6460febda92e1b06c3a05c90b28 (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 05132236c874d69a06b379b835131861c3e5926a
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Sep 8 13:07:10 2023 -0400

    15768: fixed multi dialog box Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/views-components/context-menu/action-sets/collection-action-set.ts b/src/views-components/context-menu/action-sets/collection-action-set.ts
index c63144e8..55da6676 100644
--- a/src/views-components/context-menu/action-sets/collection-action-set.ts
+++ b/src/views-components/context-menu/action-sets/collection-action-set.ts
@@ -66,7 +66,7 @@ const commonActionSet: ContextMenuActionSet = [
             icon: CopyIcon,
             name: "Make a copy",
             execute: (dispatch, resources) => {
-                if (resources[0].isSingle) dispatch<any>(openCollectionCopyDialog(resources[0]));
+                if (resources[0].isSingle || resources.length === 1) dispatch<any>(openCollectionCopyDialog(resources[0]));
                 else dispatch<any>(openMultiCollectionCopyDialog(resources[0]));
             },
         },
diff --git a/src/views-components/dialog-copy/dialog-copy.tsx b/src/views-components/dialog-copy/dialog-copy.tsx
index 8e37ac32..71d0dab3 100644
--- a/src/views-components/dialog-copy/dialog-copy.tsx
+++ b/src/views-components/dialog-copy/dialog-copy.tsx
@@ -46,7 +46,7 @@ const CopyDialogFields = memoize((pickerId: string) => () => (
 export const DialogMultiCopy = (props: CopyFormDialogProps & PickerIdProp) => {
     return (
         <FormDialog
-            dialogTitle="Make a copy"
+            dialogTitle="Make Copies"
             formFields={CopyMultiDialogFields(props.pickerId)}
             submitLabel="Copy"
             {...props}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list