mention link

This commit is contained in:
Henry Jameson 2021-06-07 16:16:10 +03:00
parent 1923ed84d4
commit 22c8f71945
6 changed files with 161 additions and 3 deletions

View file

@ -246,6 +246,10 @@ export const getters = {
}
return result
},
findUserByUrl: state => query => {
return state.users
.find(u => u.statusnet_profile_url.toLowerCase() === query.toLowerCase())
},
relationship: state => id => {
const rel = id && state.relationships[id]
return rel || { id, loading: true }