[arvados] updated: 2.7.0-6296-g4fba0ca2cd

git repository hosting git at public.arvados.org
Wed Apr 10 14:18:58 UTC 2024


Summary of changes:
 .../src/views-components/sharing-dialog/sharing-dialog-component.tsx  | 2 +-
 .../sharing-dialog/sharing-invitation-form-component.tsx              | 4 ++--
 .../src/views-components/sharing-dialog/sharing-invitation-form.tsx   | 1 -
 3 files changed, 3 insertions(+), 4 deletions(-)

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

    21313: removed vestigial saveEnabled prop 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 8093b12011..8d6e5d72a7 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
@@ -111,7 +111,7 @@ export default (props: SharingDialogComponentProps) => {
             {tabNr === SharingDialogTab.PERMISSIONS &&
                 <Grid container direction='column' spacing={24}>
                     <Grid item>
-                        <SharingInvitationForm onSave={onSave} saveEnabled={saveEnabled} />
+                        <SharingInvitationForm onSave={onSave} />
                     </Grid>
                     <Grid item>
                         <SharingManagementForm onSave={onSave} />
diff --git a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
index 81fa557e4e..19fcf58849 100644
--- a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
+++ b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form-component.tsx
@@ -19,12 +19,12 @@ const styles: StyleRulesCallback<SharingStyles> = (theme: ArvadosTheme) => ({
     },
 });
 
-const SharingInvitationFormComponent = (props: { onSave: () => void, saveEnabled: boolean }) => <StyledSharingInvitationFormComponent onSave={props.onSave} saveEnabled={props.saveEnabled} />
+const SharingInvitationFormComponent = (props: { onSave: () => void }) => <StyledSharingInvitationFormComponent onSave={props.onSave} />
 
 export default SharingInvitationFormComponent;
 
 const StyledSharingInvitationFormComponent = withStyles(styles)(
-    ({ classes }: { onSave: () => void, saveEnabled: boolean } & WithStyles<SharingStyles>) =>
+    ({ classes }: { onSave: () => void } & WithStyles<SharingStyles>) =>
         <Grid container spacing={8} wrap='nowrap' className={classes.root} >
             <Grid data-cy="invite-people-field" item xs={8}>
                 <InvitedPeopleField />
diff --git a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form.tsx b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form.tsx
index 3315473225..46f94dd348 100644
--- a/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form.tsx
+++ b/services/workbench2/src/views-components/sharing-dialog/sharing-invitation-form.tsx
@@ -14,7 +14,6 @@ interface InvitationFormData {
 
 interface SaveProps {
     onSave: () => void;
-    saveEnabled: boolean;
 }
 
 export const SharingInvitationForm =

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list