[arvados] updated: 2.7.0-6297-g495ee6b835

git repository hosting git at public.arvados.org
Wed Apr 10 14:27:22 UTC 2024


Summary of changes:
 .../sharing-dialog/sharing-dialog-component.tsx         | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

       via  495ee6b835dea5f053cf95bef2dc9d61d0324774 (commit)
      from  4fba0ca2cd49fca1606277a5329caadffd849f1e (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 495ee6b835dea5f053cf95bef2dc9d61d0324774
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Apr 10 10:27:17 2024 -0400

    21313: aligned share button styles with edit button styles Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/sharing-dialog/sharing-dialog-component.tsx b/services/workbench2/src/views-components/sharing-dialog/sharing-dialog-component.tsx
index 8d6e5d72a7..01082211d3 100644
--- a/services/workbench2/src/views-components/sharing-dialog/sharing-dialog-component.tsx
+++ b/services/workbench2/src/views-components/sharing-dialog/sharing-dialog-component.tsx
@@ -180,28 +180,27 @@ export default (props: SharingDialogComponentProps) => {
                 }
                 <Grid item>
                     <Button onClick={() => {
-                            onSave();
+                        onClose();
+                        setWithExpiration(false);
                         }}
-                        data-cy="add-invited-people"
-                        disabled={!saveEnabled}
+                        disabled={saveEnabled}
                         color='primary'
-                        variant='contained'
                         size='small'
                         style={{ marginLeft: '10px' }}
                         >
-                            Save
+                            Close
                     </Button>
                     <Button onClick={() => {
-                        onClose();
-                        setWithExpiration(false);
+                            onSave();
                         }}
-                        disabled={saveEnabled}
+                        data-cy="add-invited-people"
+                        disabled={!saveEnabled}
                         color='primary'
                         variant='contained'
                         size='small'
                         style={{ marginLeft: '10px' }}
                         >
-                            Close
+                            Save
                     </Button>
                 </Grid>
             </Grid>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list