feat: add user block action and banner if user is blocked by another user

This commit is contained in:
Kentai Radiquum 2024-08-27 15:07:32 +05:00
parent 8c1e00fe97
commit ecf1c971f6
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
4 changed files with 71 additions and 33 deletions
app/components/Profile

View file

@ -48,7 +48,7 @@ export const ProfileUser = (props: {
<Chip bg_color="bg-yellow-500" name="Спонсор Anixart" />
)}
{props.chips.isBlocked && (
<Chip bg_color="bg-yellow-500" name="Заблокирован" />
<Chip bg_color="bg-red-500" name="Заблокирован" />
)}
{props.chips.roles &&
props.chips.roles.length > 0 &&