[ARVADOS-WORKBENCH2] updated: 2.2.1-128-g7141f98b

Git user git at public.arvados.org
Thu Nov 11 03:55:36 UTC 2021


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

       via  7141f98b5212732f78f0f957accda92258bd1c9d (commit)
      from  e2d58af5865064bb5b864507e9d29c349572e38a (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 7141f98b5212732f78f0f957accda92258bd1c9d
Author: Stephen Smith <stephen at curii.com>
Date:   Wed Nov 10 22:55:05 2021 -0500

    18123: stopSubmit on failure in edit group dialog
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/store/groups-panel/groups-panel-actions.ts b/src/store/groups-panel/groups-panel-actions.ts
index e961b347..6d17db19 100644
--- a/src/store/groups-panel/groups-panel-actions.ts
+++ b/src/store/groups-panel/groups-panel-actions.ts
@@ -85,6 +85,7 @@ export const updateGroup = (project: ProjectUpdateFormDialogData) =>
             dispatch(dialogActions.CLOSE_DIALOG({ id: PROJECT_UPDATE_FORM_NAME }));
             return updatedGroup;
         } catch (e) {
+            dispatch(stopSubmit(PROJECT_UPDATE_FORM_NAME));
             const error = getCommonResourceServiceError(e);
             if (error === CommonResourceServiceError.UNIQUE_NAME_VIOLATION) {
                 dispatch(stopSubmit(PROJECT_UPDATE_FORM_NAME, { name: 'Group with the same name already exists.' } as FormErrors));

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list