mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
shells in more rows
This commit is contained in:
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} />
|
||||
|
||||
Reference in new issue
Block a user