|
@@ -274,7 +274,6 @@ export function showStartedRecordingNotification(
|
274
|
274
|
if (recordingSharingUrl
|
275
|
275
|
&& isVpaasMeeting(state)
|
276
|
276
|
&& iAmRecordingInitiator
|
277
|
|
- && showRecordingLink
|
278
|
277
|
&& !isSavingRecordingOnDropbox(state)) {
|
279
|
278
|
const region = getMeetingRegion(state);
|
280
|
279
|
const tenant = getVpaasTenant(state);
|
|
@@ -288,15 +287,17 @@ export function showStartedRecordingNotification(
|
288
|
287
|
}
|
289
|
288
|
|
290
|
289
|
// add the option to copy recording link
|
291
|
|
- notifyProps.dialogProps = {
|
292
|
|
- ...notifyProps.dialogProps,
|
293
|
|
- customActionNameKey: [ 'recording.copyLink' ],
|
294
|
|
- customActionHandler: [ () => copyText(link) ],
|
295
|
|
- titleKey: 'recording.on',
|
296
|
|
- descriptionKey: 'recording.linkGenerated'
|
297
|
|
- };
|
298
|
|
-
|
299
|
|
- notifyProps.type = NOTIFICATION_TIMEOUT_TYPE.STICKY;
|
|
290
|
+ if (showRecordingLink) {
|
|
291
|
+ notifyProps.dialogProps = {
|
|
292
|
+ ...notifyProps.dialogProps,
|
|
293
|
+ customActionNameKey: [ 'recording.copyLink' ],
|
|
294
|
+ customActionHandler: [ () => copyText(link) ],
|
|
295
|
+ titleKey: 'recording.on',
|
|
296
|
+ descriptionKey: 'recording.linkGenerated'
|
|
297
|
+ };
|
|
298
|
+
|
|
299
|
+ notifyProps.type = NOTIFICATION_TIMEOUT_TYPE.STICKY;
|
|
300
|
+ }
|
300
|
301
|
} catch (err) {
|
301
|
302
|
dispatch(showErrorNotification({
|
302
|
303
|
titleKey: 'recording.errorFetchingLink'
|