Remove leading @ in user search.

feature/groups
eal 7 years ago
parent 55c4818084
commit a5d05bcb10

@ -7,6 +7,7 @@ const UserFinder = {
}),
methods: {
findUser (username) {
username = username[0] === '@' ? username.slice(1) : username
this.loading = true
this.$store.state.api.backendInteractor.externalProfile(username)
.then((user) => {

Loading…
Cancel
Save