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