fixed some strange error
This commit is contained in:
parent
aa38223e87
commit
5e83672274
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ export const getters = {
|
||||||
},
|
},
|
||||||
findUserByUrl: state => query => {
|
findUserByUrl: state => query => {
|
||||||
return state.users
|
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 => {
|
relationship: state => id => {
|
||||||
const rel = id && state.relationships[id]
|
const rel = id && state.relationships[id]
|
||||||
|
|
Loading…
Reference in a new issue