|
|
@@ -339,14 +339,16 @@ class Conference extends Component<Props> {
|
|
339
|
339
|
/**
|
|
340
|
340
|
* Renders the conference notification badge if the feature is enabled.
|
|
341
|
341
|
*
|
|
342
|
|
- * Note: If the calendar feature is disabled on a platform, then we don't
|
|
343
|
|
- * have its components exported so an undefined check is necessary.
|
|
344
|
|
- *
|
|
345
|
342
|
* @private
|
|
346
|
343
|
* @returns {React$Node}
|
|
347
|
344
|
*/
|
|
348
|
345
|
_renderConferenceNotification() {
|
|
349
|
|
- return ConferenceNotification ? <ConferenceNotification /> : undefined;
|
|
|
346
|
+ // XXX If the calendar feature is disabled on a platform, then we don't
|
|
|
347
|
+ // have its components exported so an undefined check is necessary.
|
|
|
348
|
+ return (
|
|
|
349
|
+ !this.props._reducedUI && ConferenceNotification
|
|
|
350
|
+ ? <ConferenceNotification />
|
|
|
351
|
+ : undefined);
|
|
350
|
352
|
}
|
|
351
|
353
|
}
|
|
352
|
354
|
|