fix: organization type

This commit is contained in:
IlyaDoronin 2023-08-09 09:58:43 +03:00
parent 77a7b8d0a7
commit 9640516e31

@ -58,7 +58,9 @@ export const UserTab = () => {
<Box sx={{ marginBottom: "25px" }}>
<Typography sx={{ lineHeight: "20px" }}>Тип:</Typography>
<Typography sx={{ lineHeight: "20px", fontWeight: "bold" }}>
{account?.status === "no" ? "НКО" : "Юр. лицо"}
{account?.status === "no" && "Физ. лицо"}
{account?.status === "org" && "Юр. лицо"}
{account?.status === "nko" && "НКО"}
</Typography>
</Box>
</Box>