debug
This commit is contained in:
parent
19e310fc67
commit
5e47c59615
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
import apiService from '../../services/api/api.service.js'
|
import apiService from '../../services/api/api.service.js'
|
||||||
|
|
||||||
function showWhoToFollow (panel, reply) {
|
function showWhoToFollow (panel, reply) {
|
||||||
var users = reply.ids
|
var users = reply
|
||||||
var cn
|
var cn
|
||||||
var index = 0
|
var index = 0
|
||||||
var random = Math.floor(Math.random() * 10)
|
var random = Math.floor(Math.random() * 10)
|
||||||
|
@ -10,7 +10,7 @@ function showWhoToFollow (panel, reply) {
|
||||||
user = users[cn]
|
user = users[cn]
|
||||||
var img
|
var img
|
||||||
if (user.avatar) {
|
if (user.avatar) {
|
||||||
img = user.icon
|
img = user.avatar
|
||||||
} else {
|
} else {
|
||||||
img = '/images/avi.png'
|
img = '/images/avi.png'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue