aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow_panel
diff options
context:
space:
mode:
authorHenry <spam@hjkos.com>2018-09-21 09:19:02 +0000
committerHenry <spam@hjkos.com>2018-09-21 09:19:02 +0000
commitcd48268c858f4a7f24767e41e81cb6524393c5e6 (patch)
tree64020b07266815f88990274c5ad5ee134f04d5f1 /src/components/who_to_follow_panel
parent6f32ccf41717c2b59404c04ab0b0cb4b8c8171e3 (diff)
parent1c2f0029e4835a34a94aba2aac7eeff592aa0d95 (diff)
Merge branch 'betterStorage' into 'develop'
Better storage See merge request pleroma/pleroma-fe!343
Diffstat (limited to 'src/components/who_to_follow_panel')
-rw-r--r--src/components/who_to_follow_panel/who_to_follow_panel.js4
-rw-r--r--src/components/who_to_follow_panel/who_to_follow_panel.vue2
2 files changed, 3 insertions, 3 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 bc62f455..49b8f5b6 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
@@ -83,14 +83,14 @@ const WhoToFollowPanel = {
moreUrl: function () {
var host = window.location.hostname
var user = this.user
- var suggestionsWeb = this.$store.state.config.suggestionsWeb
+ var suggestionsWeb = this.$store.state.instance.suggestionsWeb
var url
url = suggestionsWeb.replace(/{{host}}/g, encodeURIComponent(host))
url = url.replace(/{{user}}/g, encodeURIComponent(user))
return url
},
suggestionsEnabled () {
- return this.$store.state.config.suggestionsEnabled
+ return this.$store.state.instance.suggestionsEnabled
}
},
watch: {
diff --git a/src/components/who_to_follow_panel/who_to_follow_panel.vue b/src/components/who_to_follow_panel/who_to_follow_panel.vue
index 8b3abe70..d031318d 100644
--- a/src/components/who_to_follow_panel/who_to_follow_panel.vue
+++ b/src/components/who_to_follow_panel/who_to_follow_panel.vue
@@ -11,7 +11,7 @@
<img v-bind:src="img1"/> <router-link :to="{ name: 'user-profile', params: { id: id1 } }">{{ name1 }}</router-link><br>
<img v-bind:src="img2"/> <router-link :to="{ name: 'user-profile', params: { id: id2 } }">{{ name2 }}</router-link><br>
<img v-bind:src="img3"/> <router-link :to="{ name: 'user-profile', params: { id: id3 } }">{{ name3 }}</router-link><br>
- <img v-bind:src="$store.state.config.logo"> <a v-bind:href="moreUrl" target="_blank">{{$t('who_to_follow.more')}}</a>
+ <img v-bind:src="$store.state.instance.logo"> <a v-bind:href="moreUrl" target="_blank">{{$t('who_to_follow.more')}}</a>
</p>
</div>
</div>