fix(WaitForOwnerDialog): undefined method and reg expr

This commit is contained in:
paweldomas 2017-09-22 08:50:15 -05:00 committed by Lyubo Marinov
parent ec58aa9959
commit b5212bb6cd
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ class WaitForOwnerDialog extends Component {
titleKey = 'dialog.WaitingForHost'>
<Text style = { styles.waitForOwnerDialog }>
{
this.renderHTML(t('dialog.WaitForHostMsg', { room }))
this._renderHTML(t('dialog.WaitForHostMsg', { room }))
}
</Text>
</Dialog>
@ -110,7 +110,7 @@ class WaitForOwnerDialog extends Component {
if (typeof html === 'string') {
// TODO Limited styling may easily be provided by utilizing Text
// with style.
return html.replace(/<\\?b>/gi, '');
return html.replace(/<\/?b>/gi, '');
}
return html;