X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/8a743ffb468f1bb94cd149c2ed7a40d03c6738ce..82db2694a5a0f54d4d8b07db08aecb0ca7d2f5ed:/src/views-components/sharing-dialog/sharing-dialog.tsx

diff --git a/src/views-components/sharing-dialog/sharing-dialog.tsx b/src/views-components/sharing-dialog/sharing-dialog.tsx
index 06514d49..63ee19a7 100644
--- a/src/views-components/sharing-dialog/sharing-dialog.tsx
+++ b/src/views-components/sharing-dialog/sharing-dialog.tsx
@@ -24,6 +24,7 @@ const mapStateToProps = (_: RootState, { advancedViewOpen, ...props }: WithDialo
 const mapDispatchToProps = (_: Dispatch, { toggleAdvancedView, ...props }: WithDialogProps<string> & AdvancedViewSwitchInjectedProps): SharingDialogActionProps => ({
     ...props,
     onClose: props.closeDialog,
+    onExited: toggleAdvancedView,
     onSave: () => { console.log('save'); },
     onAdvanced: toggleAdvancedView,
 });
