mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: clear all provisions and consumables
This commit is contained in:
1 parent
c0fdf10eba
commit
fdc0f34e08
2 files changed
+21
-4
No files matched your search
@@ -553,7 +553,23 @@ export function CompareTable({ stats }: CompareTableProps) {
|
||||
}
|
||||
/>
|
||||
|
||||
<Flex justify="end" mt="4">
|
||||
<Flex justify="end" mt="4" gap="4">
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => {
|
||||
CompareEphemeral.mutate((draft) => {
|
||||
draft.members.map((member) => {
|
||||
member.consumables = [];
|
||||
});
|
||||
});
|
||||
}}
|
||||
>
|
||||
{
|
||||
strings.website.tools.compare.table.consumables
|
||||
.clear_all
|
||||
}
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => {
|
||||
|
||||
Reference in new issue
Block a user