From ea6977cd4d5539de101ec7f7a1136f9fda7b715a Mon Sep 17 00:00:00 2001 From: Maxim Filippov Date: Mon, 17 Dec 2018 02:52:27 +0300 Subject: Move userProfile link to methods --- src/components/notification/notification.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/components/notification/notification.js') diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 15294e11..9ab870b6 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -21,6 +21,9 @@ const Notification = { methods: { toggleUserExpanded () { this.userExpanded = !this.userExpanded + }, + userProfileLink (user) { + return generateProfileLink(user.id, user.screen_name) } }, computed: { @@ -31,9 +34,6 @@ const Notification = { const highlight = this.$store.state.config.highlight const user = this.notification.action.user return highlightStyle(highlight[user.screen_name]) - }, - userProfileLink (user) { - return generateProfileLink(user.id, user.screen_name) } } } -- cgit v1.2.3-70-g09d2