From f92d530b0a032e845b4f11640ecdc77c24c5f1eb Mon Sep 17 00:00:00 2001 From: Bettenbuk Zoltan Date: Wed, 24 Apr 2019 11:38:20 +0200 Subject: [PATCH] Fix double file recording sharing switch --- .../components/Recording/StartRecordingDialogContent.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/react/features/recording/components/Recording/StartRecordingDialogContent.js b/react/features/recording/components/Recording/StartRecordingDialogContent.js index ac555a5a4..cad673590 100644 --- a/react/features/recording/components/Recording/StartRecordingDialogContent.js +++ b/react/features/recording/components/Recording/StartRecordingDialogContent.js @@ -144,6 +144,7 @@ class StartRecordingDialogContent extends Component { style = { styles.container }> { this._renderNoIntegrationsContent() } { this._renderIntegrationsContent() } + { this._renderFileSharingContent() } ); } @@ -233,7 +234,7 @@ class StartRecordingDialogContent extends Component { === RECORDING_TYPES.JITSI_REC_SERVICE } /> ) : null; - return [ + return ( { { t('recording.serviceDescription') } { switchContent } - , - this._renderFileSharingContent() - ]; + + ); } /** @@ -340,7 +340,6 @@ class StartRecordingDialogContent extends Component { className = 'authorization-panel'> { content } - { this._renderFileSharingContent() } ); }