fixed some strange error
This commit is contained in:
parent
aa38223e87
commit
5e83672274
|
@ -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 New Issue