diff --git a/src/components/paneConnectComponents/hostInput.vue b/src/components/paneConnectComponents/hostInput.vue index 225295ba..3343fa7b 100644 --- a/src/components/paneConnectComponents/hostInput.vue +++ b/src/components/paneConnectComponents/hostInput.vue @@ -30,6 +30,10 @@ export default { methods: { handleSubmit: function(event) { + if (this.hostname.includes(':')) { + this.port = this.computedPort + this.hostname = this.hostname.split(':')[0]; + } // Commit the hostname and port to store this.$store.commit('changeHost', [ this.hostname,