aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js6
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)
}
}
}