Skip to content

Commit

Permalink
fix: Update MinionsListBox to set maxTier to 12 when resetting search
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthGigi committed May 25, 2024
1 parent cd42464 commit 7d960b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/MinionsListBox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
class={cn("relative rounded-md rounded-l-none border-r border-input bg-background py-1.5 pl-3 text-left shadow-sm focus:z-10 focus:outline-none focus:ring-2 focus:ring-ring sm:text-sm sm:leading-6")}
on:click={() => {
value.set("");
dispatch("onSelect", { id: "", generator: "", texture: "", maxTier: undefined });
dispatch("onSelect", { id: "", generator: "", texture: "", maxTier: 12 });
}}
aria-label="Reset search">
<SearchX class="h-4 w-4 shrink-0 opacity-50" />
Expand Down

0 comments on commit 7d960b9

Please sign in to comment.