Skip to content

Commit

Permalink
Hotfix dropdown networks auto config (kiwiirc#1010)
Browse files Browse the repository at this point in the history
* Fixing a small typo that someone left in
  • Loading branch information
AllanOcelot authored and prawnsalad committed May 24, 2019
1 parent 1a7791e commit 753949e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/ServerSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ export default {
set(newVal) {
if (newVal === 'custom') {
this.name = '';
this.conneection.server = '';
this.conneection.port = 6667;
this.conneection.tls = false;
this.connection.server = '';
this.connection.port = 6667;
this.connection.tls = false;
this.showCustom = true;
} else {
let addr = this.parseFormatted(newVal);
this.name = addr.name;
this.conneection.server = addr.server;
this.conneection.port = addr.port;
this.conneection.tls = addr.tls;
this.connection.server = addr.server;
this.connection.port = addr.port;
this.connection.tls = addr.tls;
this.showCustom = false;
}
Expand Down

0 comments on commit 753949e

Please sign in to comment.