mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-12 12:16:11 +01:00
feat: select all option
This commit is contained in:
1 parent
184ca522dd
commit
49d3e1d1c2
3 files changed
+57
-3
No files matched your search
@@ -293,7 +293,16 @@ export default function Page() {
|
||||
tankToCompareMember(tank, awaitedSkillDefinitions),
|
||||
);
|
||||
});
|
||||
|
||||
setAddTankDialogOpen(false);
|
||||
}}
|
||||
onSelectAll={(tanks) => {
|
||||
mutateCompareTemporary((draft) => {
|
||||
draft.members.push(
|
||||
...tanks.map((tank) =>
|
||||
tankToCompareMember(tank, awaitedSkillDefinitions),
|
||||
),
|
||||
);
|
||||
});
|
||||
setAddTankDialogOpen(false);
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user