fixed some strange error
This commit is contained in:
parent
f6af5edfb0
commit
6728198286
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ export const getters = {
|
|||
},
|
||||
findUserByUrl: state => query => {
|
||||
return state.users
|
||||
.find(u => u.statusnet_profile_url.toLowerCase() === query.toLowerCase())
|
||||
.find(u => u.statusnet_profile_url &&
|
||||
u.statusnet_profile_url.toLowerCase() === query.toLowerCase())
|
||||
},
|
||||
relationship: state => id => {
|
||||
const rel = id && state.relationships[id]
|
||||
|
|
Loading…
Reference in a new issue