Merge pull request #1335 from matrix-org/t3chguy/unbrick_internetless
Fix React crying on machines without internet due to return undefined
This commit is contained in:
@@ -75,7 +75,7 @@ export default class ManageIntegsButton extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
let integrationsButton;
|
let integrationsButton = <div />;
|
||||||
let integrationsError;
|
let integrationsError;
|
||||||
if (this.scalarClient !== null) {
|
if (this.scalarClient !== null) {
|
||||||
if (this.state.showIntegrationsError && this.state.scalarError) {
|
if (this.state.showIntegrationsError && this.state.scalarError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user