mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 17:09:41 +05:00
feat: add user block action and banner if user is blocked by another user
This commit is contained in:
parent
8c1e00fe97
commit
ecf1c971f6
4 changed files with 71 additions and 33 deletions
|
@ -98,7 +98,7 @@ export const ProfilePage = (props: any) => {
|
|||
ban_reason={user.ban_reason}
|
||||
ban_expires={user.ban_expires}
|
||||
/>
|
||||
<ProfilePrivacyBanner is_privacy={isPrivacy} />
|
||||
<ProfilePrivacyBanner is_privacy={isPrivacy} is_me_blocked={user.is_me_blocked} />
|
||||
</div>
|
||||
<div
|
||||
className={`flex flex-wrap gap-2 ${
|
||||
|
@ -155,6 +155,8 @@ export const ProfilePage = (props: any) => {
|
|||
friendStatus={user.friend_status}
|
||||
my_profile_id={authUser.user.id}
|
||||
token={authUser.token}
|
||||
is_me_blocked={user.is_me_blocked}
|
||||
is_blocked={user.is_blocked}
|
||||
/>
|
||||
)}
|
||||
{!user.is_stats_hidden && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue