Improve characters handling and add a collapse to account cards for easier sorting

This commit is contained in:
calli
2025-04-22 12:08:10 +03:00
parent 70fdc4e96f
commit 8809fec6e0
3 changed files with 48 additions and 18 deletions

View File

@@ -164,7 +164,9 @@ export const MainGrid = () => {
},
}}
>
<AccountCard characters={groupByAccount[account]} />
{groupByAccount[account] && groupByAccount[account].length > 0 && (
<AccountCard characters={groupByAccount[account]} />
)}
</Grid>
)}
</DraggableComponent>