aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow_panel
diff options
context:
space:
mode:
authorhakabahitoyo <hakabahitoyo@example.com>2018-08-02 19:16:48 +0900
committerhakabahitoyo <hakabahitoyo@example.com>2018-08-02 19:16:48 +0900
commit5e47c59615a1ebe7c42a43eea2e93b814742e9e9 (patch)
treeeac514c71ae5bd3263b0fe94bf972373e84dc7af /src/components/who_to_follow_panel
parent19e310fc670d329896829d25d25d59a16b425ed1 (diff)
debug
Diffstat (limited to 'src/components/who_to_follow_panel')
-rw-r--r--src/components/who_to_follow_panel/who_to_follow_panel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/who_to_follow_panel/who_to_follow_panel.js b/src/components/who_to_follow_panel/who_to_follow_panel.js
index 5b7f6b94..d7626dd4 100644
--- a/src/components/who_to_follow_panel/who_to_follow_panel.js
+++ b/src/components/who_to_follow_panel/who_to_follow_panel.js
@@ -1,7 +1,7 @@
import apiService from '../../services/api/api.service.js'
function showWhoToFollow (panel, reply) {
- var users = reply.ids
+ var users = reply
var cn
var index = 0
var random = Math.floor(Math.random() * 10)
@@ -10,7 +10,7 @@ function showWhoToFollow (panel, reply) {
user = users[cn]
var img
if (user.avatar) {
- img = user.icon
+ img = user.avatar
} else {
img = '/images/avi.png'
}