Fix button 'Open BigBlueButton Tablet app' for meeting with whitespace in its name (#19201)
This commit is contained in:
parent
3e4e0e03a0
commit
e6a7e2197f
@ -97,7 +97,9 @@ class MobileAppModal extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const { intl, isOpen, onRequestClose, priority, } = this.props;
|
||||
const {
|
||||
intl, isOpen, onRequestClose, priority,
|
||||
} = this.props;
|
||||
const { url, urlMessage, meetingName } = this.state;
|
||||
|
||||
return (
|
||||
@ -121,7 +123,7 @@ class MobileAppModal extends Component {
|
||||
color="primary"
|
||||
disabled={url === ''}
|
||||
label={intl.formatMessage(intlMessages.openApp)}
|
||||
onClick={() => window.open(`${BBB_TABLET_APP_CONFIG.iosAppUrlScheme}://${meetingName}/${encodeURIComponent(url)}`, '_blank')}
|
||||
onClick={() => window.open(`${BBB_TABLET_APP_CONFIG.iosAppUrlScheme}://${encodeURIComponent(meetingName)}/${encodeURIComponent(url)}`, '_blank')}
|
||||
role="button"
|
||||
size="lg"
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user