Fix React crying on machines without internet due to return undefined
This commit is contained in:
parent
737a258944
commit
ec6867dc8b
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export default class ManageIntegsButton extends React.Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
let integrationsButton;
|
||||
let integrationsButton = <div />;
|
||||
let integrationsError;
|
||||
if (this.scalarClient !== null) {
|
||||
if (this.state.showIntegrationsError && this.state.scalarError) {
|
||||
|
|
Loading…
Reference in a new issue