trim new relay address string to fix copy and paste domain name spaces and tabs #537

honeypot-register-form
tykayn 2 years ago committed by Baptiste Lemoine
parent 95efa43325
commit 44d597a118
  1. 2
      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();

Loading…
Cancel
Save