aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-12-18 22:09:27 +0200
committershpuld <shp@cock.li>2018-12-18 22:09:27 +0200
commit640a28789222035f8d500b8dd4bfc4c9f0cdd1af (patch)
treede6e7a72f0a90b8196b1bf99ac0fe4cd5bfe39a2 /src/components/notification/notification.js
parentbd2ed617a740ef3b37dedf3bed608e433dc0ec09 (diff)
parent2f28bf95fdce6a215961fe264c236c111e4a1e66 (diff)
Merge branch 'develop' into feature/replace-panel-switcher
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index 345fe3ee..9ab870b6 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -2,6 +2,7 @@ import Status from '../status/status.vue'
import StillImage from '../still-image/still-image.vue'
import UserCardContent from '../user_card_content/user_card_content.vue'
import { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js'
+import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'
const Notification = {
data () {
@@ -20,6 +21,9 @@ const Notification = {
methods: {
toggleUserExpanded () {
this.userExpanded = !this.userExpanded
+ },
+ userProfileLink (user) {
+ return generateProfileLink(user.id, user.screen_name)
}
},
computed: {