From b817e09ee8ed4e02a6757b2c4e5577c5f82bec45 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Tue, 22 Mar 2022 19:43:11 +0200
Subject: fix avatars not opening inline card

---
 src/components/status/status.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/status/status.vue')

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
-- 
cgit v1.2.3-70-g09d2

