diff --git a/app/views/NewServerView/index.js b/app/views/NewServerView/index.js index 9548e0082..693bd4262 100644 --- a/app/views/NewServerView/index.js +++ b/app/views/NewServerView/index.js @@ -161,6 +161,9 @@ class NewServerView extends React.Component { handleNewServerEvent = (event) => { let { server } = event; + if (!server) { + return; + } const { connectServer } = this.props; this.setState({ text: server }); server = this.completeUrl(server);