From fb1ac1bdd12d5a570812b9c8e14aeaeb5918e765 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 20 Jul 2018 13:23:11 +1000 Subject: [PATCH] Realign joinroom error positioning --- src/components/application/joinroom.vue | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/application/joinroom.vue b/src/components/application/joinroom.vue index 8d525ed4..2d6b62b9 100644 --- a/src/components/application/joinroom.vue +++ b/src/components/application/joinroom.vue @@ -23,7 +23,7 @@

- It's time to connect to SyncLounge. From the list select a server which is closest to your location. Once you've chosen one that works for you it's time to create a room for your friends to join. + It's time to connect to SyncLounge. From the list select a server which is closest to your location. Once you've chosen one that works for you it's time to create a room for your friends to join. If the room does not exist it will be created for you.

@@ -83,12 +83,12 @@ class="input-group pt-input" > - + Connect - +
@@ -100,7 +100,7 @@
- + - + Join @@ -296,15 +296,17 @@ export default { attemptConnectCustom: function () { this.connectionPending = true this.serverError = null - this.$store.dispatch('socketConnect', { address: this.CUSTOMSERVER }).then(result => { - this.connectionPending = false - if (result) { - this.serverError = 'Failed to connect to ' + this.CUSTOMSERVER - } else { - this.serverError = null - } - }) + this.$store.dispatch('socketConnect', { address: this.CUSTOMSERVER }) + .then(result => { + this.connectionPending = false + if (result) { + this.serverError = 'Failed to connect to ' + this.CUSTOMSERVER + } else { + this.serverError = null + } + }) .catch(() => { + this.connectionPending = false this.serverError = 'Failed to connect to ' + this.CUSTOMSERVER }) },