diff options
| author | Maxim Filippov <colixer@gmail.com> | 2018-12-17 02:52:27 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2018-12-17 02:52:27 +0300 |
| commit | ea6977cd4d5539de101ec7f7a1136f9fda7b715a (patch) | |
| tree | f751ddef402d0073fdaba278653ca4a70594bf2f /src/components/notification/notification.js | |
| parent | 5f10c5e786ddba2741675255aaa8c23ba17cca61 (diff) | |
Move userProfile link to methods
Diffstat (limited to 'src/components/notification/notification.js')
| -rw-r--r-- | src/components/notification/notification.js | 6 |
1 files changed, 3 insertions, 3 deletions
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) } } } |
