Browse Source

Fix double file recording sharing switch

master
Bettenbuk Zoltan 6 years ago
parent
commit
f92d530b0a

+ 4
- 5
react/features/recording/components/Recording/StartRecordingDialogContent.js View File

@@ -144,6 +144,7 @@ class StartRecordingDialogContent extends Component<Props> {
144 144
                 style = { styles.container }>
145 145
                 { this._renderNoIntegrationsContent() }
146 146
                 { this._renderIntegrationsContent() }
147
+                { this._renderFileSharingContent() }
147 148
             </Container>
148 149
         );
149 150
     }
@@ -233,7 +234,7 @@ class StartRecordingDialogContent extends Component<Props> {
233 234
                                 === RECORDING_TYPES.JITSI_REC_SERVICE } />
234 235
                 ) : null;
235 236
 
236
-        return [
237
+        return (
237 238
             <Container
238 239
                 className = 'recording-header'
239 240
                 key = 'noIntegrationSetting'
@@ -253,9 +254,8 @@ class StartRecordingDialogContent extends Component<Props> {
253 254
                     { t('recording.serviceDescription') }
254 255
                 </Text>
255 256
                 { switchContent }
256
-            </Container>,
257
-            this._renderFileSharingContent()
258
-        ];
257
+            </Container>
258
+        );
259 259
     }
260 260
 
261 261
     /**
@@ -340,7 +340,6 @@ class StartRecordingDialogContent extends Component<Props> {
340 340
                     className = 'authorization-panel'>
341 341
                     { content }
342 342
                 </Container>
343
-                { this._renderFileSharingContent() }
344 343
             </Container>
345 344
         );
346 345
     }

Loading…
Cancel
Save