Fixed #184: small UI glitches/bugs in federation tabs

This commit is contained in:
Eliot Berriot 2018-04-27 21:50:25 +02:00
parent f2d20e1bf7
commit 71bd0961af
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
7 changed files with 23 additions and 6 deletions

View file

@ -72,7 +72,7 @@ export default {
this.isLoading = true
self.errors = []
self.result = null
axios.get('/federation/libraries/fetch/', {params: {account: this.libraryUsername}}).then((response) => {
axios.get('/federation/libraries/fetch/', {params: {account: this.libraryUsername.trim()}}).then((response) => {
self.result = response.data
self.result.display_name = self.libraryUsername
self.isLoading = false