mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 06:50:28 +03:00
fix add room button visible on left room in space lobby
This commit is contained in:
parent
87c25dc5bf
commit
8f3ae69985
2 changed files with 4 additions and 6 deletions
|
|
@ -474,7 +474,7 @@ export const SpaceItemCard = as<'div', SpaceItemCardProps>(
|
|||
</>
|
||||
)}
|
||||
</Box>
|
||||
{canEditChild && (
|
||||
{space && canEditChild && (
|
||||
<Box shrink="No" alignItems="Inherit" gap="200">
|
||||
<AddRoomButton item={item} />
|
||||
{item.parentId === undefined && <AddSpaceButton item={item} />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue