mirror of
https://github.com/RGBCube/cinny
synced 2025-07-30 16:37:46 +00:00
hide decline all public invite button when no invite
This commit is contained in:
parent
206ed33516
commit
59a007419f
1 changed files with 11 additions and 9 deletions
|
@ -439,6 +439,7 @@ function UnknownInvites({ invites, handleNavigate, compact }: UnknownInvitesProp
|
|||
<Box gap="200" justifyContent="SpaceBetween" alignItems="Center">
|
||||
<Text size="H4">Public</Text>
|
||||
<Box>
|
||||
{invites.length > 0 && (
|
||||
<Chip
|
||||
variant="SurfaceVariant"
|
||||
onClick={declineAll}
|
||||
|
@ -448,6 +449,7 @@ function UnknownInvites({ invites, handleNavigate, compact }: UnknownInvitesProp
|
|||
>
|
||||
<Text size="T200">Decline All</Text>
|
||||
</Chip>
|
||||
)}
|
||||
</Box>
|
||||
</Box>
|
||||
{invites.length > 0 ? (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue