Close export dialog autmatically for support form
Summary: This diff adds the support to close the dialog automatically for the support form. Reviewed By: passy Differential Revision: D17899862 fbshipit-source-id: 9d9cd14556a4cebe60f8cc1d082be3e439998e9c
This commit is contained in:
committed by
Facebook Github Bot
parent
4a8a4aabb6
commit
de17f3905b
@@ -93,7 +93,13 @@ export class App extends React.Component<Props> {
|
||||
return <ExportDataPluginSheet onHide={onHide} />;
|
||||
case ACTIVE_SHEET_SHARE_DATA:
|
||||
return (
|
||||
<ShareSheetExportUrl onHide={onHide} logger={this.props.logger} />
|
||||
<ShareSheetExportUrl
|
||||
onHide={onHide}
|
||||
logger={this.props.logger}
|
||||
closeOnFinish={
|
||||
this.props.share != null && this.props.share.closeOnFinish
|
||||
}
|
||||
/>
|
||||
);
|
||||
case ACTIVE_SHEET_SHARE_DATA_IN_FILE:
|
||||
return this.props.share && this.props.share.type === 'file' ? (
|
||||
|
||||
Reference in New Issue
Block a user