From 05ead45fb72a3971b93ee544bba277aa167d69c5 Mon Sep 17 00:00:00 2001 From: Hakaba Hitoyo Date: Wed, 16 Jan 2019 02:33:08 +0000 Subject: Show who to follow in the mobile view --- src/components/who_to_follow_panel/who_to_follow_panel.js | 8 -------- src/components/who_to_follow_panel/who_to_follow_panel.vue | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/components/who_to_follow_panel') 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 fddc7c7d..5e204001 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 @@ -50,14 +50,6 @@ const WhoToFollowPanel = { user: function () { return this.$store.state.users.currentUser.screen_name }, - moreUrl: function () { - const host = window.location.hostname - const user = this.user - const suggestionsWeb = this.$store.state.instance.suggestionsWeb - const url = suggestionsWeb.replace(/{{host}}/g, encodeURIComponent(host)) - .replace(/{{user}}/g, encodeURIComponent(user)) - return url - }, suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled } 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 272c41d3..25e3a9f6 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 @@ -13,7 +13,7 @@ {{user.name}}
- {{$t('who_to_follow.more')}} + {{$t('who_to_follow.more')}} -- cgit v1.2.3-70-g09d2