X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3d5a1c29aad86476f2e789e1e54cabf8b4605aa2..9e82519ebc14c20423cb3eb712ef7581f609dc1f:/services/workbench2/src/views-components/sharing-dialog/sharing-dialog-component.tsx
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 f83cec60f2..919dbe76f1 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
@@ -62,7 +62,7 @@ enum SharingDialogTab {
}
export type SharingDialogComponentProps = SharingDialogDataProps & SharingDialogActionProps;
-export default (props: SharingDialogComponentProps) => {
+export const SharingDialogComponent = (props: SharingDialogComponentProps) => {
const { open, loading, saveEnabled, sharedResourceUuid,
sharingURLsNr, privateAccess, sharingURLsDisabled,
onClose, onSave, onCreateSharingToken, refreshPermissions } = props;
@@ -90,7 +90,7 @@ export default (props: SharingDialogComponentProps) => {
fullWidth
maxWidth='sm'
disableBackdropClick={saveEnabled}
- disableEscapeKeyDown={saveEnabled}>
+ >
Sharing settings
@@ -111,7 +111,7 @@ export default (props: SharingDialogComponentProps) => {
{tabNr === SharingDialogTab.PERMISSIONS &&
-
+
@@ -182,8 +182,25 @@ export default (props: SharingDialogComponentProps) => {
+