mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🐛 Fix links in UI
This commit is contained in:
parent
db00a81ff9
commit
485b1b8c80
3 changed files with 9 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div v-if="relationship?.requested_by !== false" class="flex flex-row items-center gap-3 p-4">
|
||||
<NuxtLink class="relative size-10">
|
||||
<NuxtLink :href="followerUrl" class="relative size-10">
|
||||
<Avatar shape="square" class="size-10 border border-border">
|
||||
<AvatarImage :src="follower.avatar" alt="" />
|
||||
<AvatarFallback class="rounded-lg"> AA </AvatarFallback>
|
||||
|
|
@ -52,6 +52,7 @@ const { follower } = defineProps<{
|
|||
}>();
|
||||
|
||||
const loading = ref(true);
|
||||
const followerUrl = `/@${follower.acct}`;
|
||||
const [username, instance] = follower.acct.split("@");
|
||||
const { relationship } = useRelationship(client, follower.id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue