aboutsummaryrefslogtreecommitdiff
path: root/src/components/who_to_follow_panel
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-17 02:52:27 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-17 02:52:27 +0300
commitea6977cd4d5539de101ec7f7a1136f9fda7b715a (patch)
treef751ddef402d0073fdaba278653ca4a70594bf2f /src/components/who_to_follow_panel
parent5f10c5e786ddba2741675255aaa8c23ba17cca61 (diff)
Move userProfile link to methods
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, 3 insertions, 1 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 4507d9e5..c2df6899 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
@@ -92,7 +92,9 @@ const WhoToFollowPanel = {
},
suggestionsEnabled () {
return this.$store.state.instance.suggestionsEnabled
- },
+ }
+ },
+ methods: {
userProfileLink (id, name) {
return generateProfileLink(id, name)
}