Skip to content
Snippets Groups Projects
Commit a5d05bcb authored by eal's avatar eal
Browse files

Remove leading @ in user search.

parent 55c48180
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ const UserFinder = { ...@@ -7,6 +7,7 @@ const UserFinder = {
}), }),
methods: { methods: {
findUser (username) { findUser (username) {
username = username[0] === '@' ? username.slice(1) : username
this.loading = true this.loading = true
this.$store.state.api.backendInteractor.externalProfile(username) this.$store.state.api.backendInteractor.externalProfile(username)
.then((user) => { .then((user) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment