From 44d597a118b160f68967f5d9c659eb2411bced64 Mon Sep 17 00:00:00 2001 From: tykayn Date: Wed, 9 Dec 2020 15:34:49 +0100 Subject: [PATCH] :zap: trim new relay address string to fix copy and paste domain name spaces and tabs #537 --- js/src/components/Admin/Followings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/components/Admin/Followings.vue b/js/src/components/Admin/Followings.vue index 756865d14..f21825ab0 100644 --- a/js/src/components/Admin/Followings.vue +++ b/js/src/components/Admin/Followings.vue @@ -161,7 +161,7 @@ export default class Followings extends Mixins(RelayMixin) { await this.$apollo.mutate({ mutation: ADD_RELAY, variables: { - address: this.newRelayAddress, + address: this.newRelayAddress.trim(), // trim to fix copy and paste domain name spaces and tabs }, }); await this.$apollo.queries.relayFollowings.refetch();