diff options
| author | Henry Jameson <me@hjkos.com> | 2022-03-22 19:43:11 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-03-22 19:43:11 +0200 |
| commit | b817e09ee8ed4e02a6757b2c4e5577c5f82bec45 (patch) | |
| tree | 696d5989e8226a4eb0673caf000fecd17191a746 /src | |
| parent | 6b5791fda6fdf2efe39e1c05e3340a5cf970f312 (diff) | |
fix avatars not opening inline card
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/notification/notification.vue | 2 | ||||
| -rw-r--r-- | src/components/status/status.vue | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index c03ebc89..2af4af22 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -33,7 +33,7 @@ > <a class="avatar-container" - :href="notification.from_profile.statusnet_profile_url" + :href="$router.resolve(userProfileLink).href" @click.stop.prevent.capture="toggleUserExpanded" > <UserAvatar diff --git a/src/components/status/status.vue b/src/components/status/status.vue index eb30f28b..3f352f03 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -121,8 +121,8 @@ v-if="!noHeading" class="left-side" > - <router-link - :to="userProfileLink" + <a + :href="$router.resolve(userProfileLink).href" @click.stop.prevent.capture="toggleUserExpanded" > <UserAvatar @@ -132,7 +132,7 @@ :better-shadow="betterShadow" :user="status.user" /> - </router-link> + </a> </div> <div class="right-side"> <UserCard |
