shells in more rows

This commit is contained in:
tresabhi committed 2026-12-03 22:00:01 -06:00
1 parent b04946ed96
commit 38f751a8b0
3 files changed
+7 -3

No files matched your search

@@ -213,7 +213,6 @@ function Group({ group, characteristics }: GroupProps) {
if (items.length === 0) return null;
const isShellGroup = group.name === "shell";
const title = (
strings.tanks.characteristics.titles as Record<string, string>
)[group.name];
@@ -222,12 +221,12 @@ function Group({ group, characteristics }: GroupProps) {
<Table.Body>
<Table.Row>
<Table.GroupTitle
colSpan={isShellGroup ? undefined : characteristics.length + 1}
colSpan={group.shells ? undefined : characteristics.length + 1}
>
{title}
</Table.GroupTitle>
{isShellGroup &&
{group.shells &&
members.map((member, index) => (
<Table.GroupCell key={member.key} className={styles["shell-cell"]}>
<ShellSwitcher member={member} index={index} />