[MM-25681] fix reload (#1308)
This commit is contained in:
parent
a59c553465
commit
a6e6f149e1
|
@ -219,7 +219,9 @@ export default class MattermostView extends React.Component {
|
|||
isLoaded: false,
|
||||
});
|
||||
const webview = this.webviewRef.current;
|
||||
webview.reload();
|
||||
if (webview) {
|
||||
webview.reload();
|
||||
}
|
||||
}
|
||||
|
||||
clearCacheAndReload = () => {
|
||||
|
|
Loading…
Reference in a new issue