diff options
| author | lambda <pleromagit@rogerbraun.net> | 2018-12-18 15:26:00 +0000 |
|---|---|---|
| committer | lambda <pleromagit@rogerbraun.net> | 2018-12-18 15:26:00 +0000 |
| commit | 2f28bf95fdce6a215961fe264c236c111e4a1e66 (patch) | |
| tree | 9e91911158deba707b538cbd06b03d51d46344af /src/components/notification/notification.vue | |
| parent | c1ff17ebb0a96d715f8badd0061f78420154a498 (diff) | |
| parent | 63ad08050ef54d2770260989de4b4b7b41c451ef (diff) | |
Merge branch 'feature/new-user-routes' into 'develop'
Make domain.com/username routes work
Closes pleroma#395
See merge request pleroma/pleroma-fe!392
Diffstat (limited to 'src/components/notification/notification.vue')
| -rw-r--r-- | src/components/notification/notification.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index e84ce0b6..1c89cbb7 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -28,7 +28,9 @@ <small class="timeago"><router-link @click.native="activatePanel('timeline')" v-if="notification.status" :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> </span> <div class="follow-text" v-if="notification.type === 'follow'"> - <router-link @click.native="activatePanel('timeline')" :to="{ name: 'user-profile', params: { id: notification.action.user.id } }">@{{notification.action.user.screen_name}}</router-link> + <router-link @click.native="activatePanel('timeline')" :to="userProfileLink(notification.action.user)"> + @{{notification.action.user.screen_name}} + </router-link> </div> <template v-else> <status :activatePanel="activatePanel" v-if="notification.status" class="faint" :compact="true" :statusoid="notification.status" :noHeading="true"></status> |
