Merge branch 'trim-federation-add-instance' into 'master'
⚡ trim new relay address string to fix copy and paste domain name spaces and tabs #537 Closes #537 See merge request framasoft/mobilizon!752
This commit is contained in:
commit
080432dbe5
|
@ -161,7 +161,7 @@ export default class Followings extends Mixins(RelayMixin) {
|
||||||
await this.$apollo.mutate({
|
await this.$apollo.mutate({
|
||||||
mutation: ADD_RELAY,
|
mutation: ADD_RELAY,
|
||||||
variables: {
|
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();
|
await this.$apollo.queries.relayFollowings.refetch();
|
||||||
|
|
Loading…
Reference in a new issue