Compare commits

...

1 Commits

Author SHA1 Message Date
Horatiu Muresan e62a8e6d40 fix(welcome-page) Fix error before joining a meeting from welcome page 2022-12-22 14:31:11 +02:00
2 changed files with 7 additions and 6 deletions

View File

@ -274,7 +274,7 @@ export class AbstractWelcomePage<P: Props> extends Component<P, *> {
export function _mapStateToProps(state: Object) { export function _mapStateToProps(state: Object) {
return { return {
_calendarEnabled: isCalendarEnabled(state), _calendarEnabled: isCalendarEnabled(state),
_deeplinkingCfg: state['features/base/config'].deeplinking, _deeplinkingCfg: state['features/base/config'].deeplinking || {},
_enableInsecureRoomNameWarning: state['features/base/config'].enableInsecureRoomNameWarning || false, _enableInsecureRoomNameWarning: state['features/base/config'].enableInsecureRoomNameWarning || false,
_moderatedRoomServiceUrl: state['features/base/config'].moderatedRoomServiceUrl, _moderatedRoomServiceUrl: state['features/base/config'].moderatedRoomServiceUrl,
_recentListEnabled: isRecentListEnabled(), _recentListEnabled: isRecentListEnabled(),

View File

@ -346,14 +346,15 @@ class WelcomePage extends AbstractWelcomePage {
const { const {
t, t,
_deeplinkingCfg: { _deeplinkingCfg: {
ios: { downloadLink: iosDownloadLink }, ios = {},
android: { android = {}
fDroidUrl,
downloadLink: androidDownloadLink
}
} }
} = this.props; } = this.props;
const { downloadLink: iosDownloadLink } = ios;
const { fDroidUrl, downloadLink: androidDownloadLink } = android;
return (<footer className = 'welcome-footer'> return (<footer className = 'welcome-footer'>
<div className = 'welcome-footer-centered'> <div className = 'welcome-footer-centered'>
<div className = 'welcome-footer-padded'> <div className = 'welcome-footer-padded'>