fix(WaitForOwnerDialog): undefined method and reg expr
This commit is contained in:
parent
ec58aa9959
commit
b5212bb6cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue