[FIX] Connect a null server (#2639)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
80d6e0d65f
commit
1f74adaff2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue