aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortsukada-ecsec <tsukada@ecsec.org>2018-08-22 15:15:15 +0900
committertsukada-ecsec <tsukada@ecsec.org>2018-08-22 15:15:15 +0900
commit0647c1bb720144b3d9e3d7943129d0d67d176ab0 (patch)
tree7de50bc50c41c68dbaf87fe498864cd9945294d6 /src
parent54166c3ad3bd3c9377d7788b84733c19d16732ad (diff)
debug
Diffstat (limited to 'src')
-rw-r--r--src/components/who_to_follow_panel/who_to_follow_panel.js8
1 files changed, 4 insertions, 4 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 70b35980..6766e561 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
@@ -91,20 +91,20 @@ const WhoToFollowPanel = {
url = url.replace(/{{user}}/g, encodeURIComponent(user))
return url
},
- showWhoToFollowPanel () {
- return this.$store.state.config.showWhoToFollowPanel
+ suggestionsEnabled () {
+ return this.$store.state.config.suggestionsEnabled
}
},
watch: {
user: function (user, oldUser) {
- if (this.showWhoToFollowPanel) {
+ if (this.suggestionsEnabled) {
getWhoToFollow(this)
}
}
},
mounted:
function () {
- if (this.showWhoToFollowPanel) {
+ if (this.suggestionsEnabled) {
getWhoToFollow(this)
}
}