feature-flags: add flag for enabling calendar integration

This commit is contained in:
Saúl Ibarra Corretgé
2019-05-28 15:32:29 +02:00
committed by Saúl Ibarra Corretgé
parent 35ffbe1720
commit 97e0303065
17 changed files with 193 additions and 167 deletions

View File

@@ -10,7 +10,6 @@ import { getLocalizedDateFormatter, translate } from '../../base/i18n';
import { connect } from '../../base/redux';
import { ASPECT_RATIO_NARROW } from '../../base/responsive-ui';
import { isCalendarEnabled } from '../functions';
import styles from './styles';
const ALERT_MILLISECONDS = 5 * 60 * 1000;
@@ -294,6 +293,4 @@ function _mapStateToProps(state: Object) {
};
}
export default isCalendarEnabled()
? translate(connect(_mapStateToProps)(ConferenceNotification))
: undefined;
export default translate(connect(_mapStateToProps)(ConferenceNotification));