diff --git a/bigbluebutton-html5/imports/ui/components/app/service.js b/bigbluebutton-html5/imports/ui/components/app/service.js index ee971911994e04401fac1de1ab5578eb5b329eea..a8a16945b1b8c72db27fa94eacd644db616ca234 100644 --- a/bigbluebutton-html5/imports/ui/components/app/service.js +++ b/bigbluebutton-html5/imports/ui/components/app/service.js @@ -27,7 +27,7 @@ function meetingIsBreakout() { const validIOSVersion = () => { const SUPPORTED_OS_VERSION = 12.2; - const iosMatch = navigator.userAgent.match(/OS (\d+)_(\d+) /); + const iosMatch = navigator.userAgent.match(/OS (\d+)_(\d+)/); if (iosMatch) { const versionNumber = iosMatch[0].split(' ')[1].replace('_', '.'); const isInvalid = parseFloat(versionNumber) < SUPPORTED_OS_VERSION; diff --git a/bigbluebutton-html5/imports/ui/components/toast/component.jsx b/bigbluebutton-html5/imports/ui/components/toast/component.jsx index 771db8d457a660e68ffd771358e85a6889a4682f..03a857f3212635e52244b5a20e3a303b2df5cac6 100755 --- a/bigbluebutton-html5/imports/ui/components/toast/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/toast/component.jsx @@ -42,12 +42,16 @@ const Toast = ({ <span>{message}</span> </div> </div> - <div className={styles.backgroundColorInherit}> - <div className={styles.separator} /> - <div className={styles.backgroundColorInherit}> - {content} - </div> - </div> + {content + ? ( + <div className={styles.backgroundColorInherit}> + <div className={styles.separator} /> + <div className={styles.backgroundColorInherit}> + {content} + </div> + </div> + ) : null + } </div> );