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) {
return {
_calendarEnabled: isCalendarEnabled(state),
_deeplinkingCfg: state['features/base/config'].deeplinking,
_deeplinkingCfg: state['features/base/config'].deeplinking || {},
_enableInsecureRoomNameWarning: state['features/base/config'].enableInsecureRoomNameWarning || false,
_moderatedRoomServiceUrl: state['features/base/config'].moderatedRoomServiceUrl,
_recentListEnabled: isRecentListEnabled(),

View File

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