feat: handle follow request (#2339)

This commit is contained in:
Sma11X 2023-10-23 00:11:00 +08:00 committed by GitHub
parent d825a71d1f
commit 5fceb70971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 99 additions and 8 deletions

View file

@ -109,6 +109,10 @@ const personalNoteMaxLength = 2000
<template>
<div flex flex-col>
<div v-if="relationship?.requestedBy" p-4 flex justify-between items-center bg-card>
<span text-primary font-bold>{{ $t('account.requested', [account.displayName]) }}</span>
<AccountFollowRequestButton :account="account" :relationship="relationship" />
</div>
<component :is="hasHeader ? 'button' : 'div'" border="b base" z-1 @click="hasHeader ? previewHeader() : undefined">
<img h-50 height="200" w-full object-cover :src="account.header" :alt="t('account.profile_description', [account.username])">
</component>