debug
This commit is contained in:
parent
54166c3ad3
commit
0647c1bb72
|
@ -91,20 +91,20 @@ const WhoToFollowPanel = {
|
||||||
url = url.replace(/{{user}}/g, encodeURIComponent(user))
|
url = url.replace(/{{user}}/g, encodeURIComponent(user))
|
||||||
return url
|
return url
|
||||||
},
|
},
|
||||||
showWhoToFollowPanel () {
|
suggestionsEnabled () {
|
||||||
return this.$store.state.config.showWhoToFollowPanel
|
return this.$store.state.config.suggestionsEnabled
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
user: function (user, oldUser) {
|
user: function (user, oldUser) {
|
||||||
if (this.showWhoToFollowPanel) {
|
if (this.suggestionsEnabled) {
|
||||||
getWhoToFollow(this)
|
getWhoToFollow(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted:
|
mounted:
|
||||||
function () {
|
function () {
|
||||||
if (this.showWhoToFollowPanel) {
|
if (this.suggestionsEnabled) {
|
||||||
getWhoToFollow(this)
|
getWhoToFollow(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue