Fix missing geo filter

pull/1/head
Made Baruna 2021-06-07 15:06:00 +07:00
parent de05a8fd63
commit 8f0dbe750e
No known key found for this signature in database
GPG Key ID: 5AA5DA16AA5DCEAD
1 changed files with 9 additions and 0 deletions

View File

@ -33,6 +33,7 @@
electro: true,
cryo: true,
dendro: true,
geo: true,
};
let weaponFilter = {
sword: true,
@ -304,6 +305,14 @@
>
<img src="/images/elements/cryo.png" alt="cryo" class="w-8 h-8" style="min-width: 2rem;" />
</button>
<button
on:click={() => toggleElement('geo')}
class="rounded-xl hover:bg-black hover:bg-opacity-25 cursor-pointer p-2 focus:outline-none {elementFilter.geo
? ''
: 'opacity-25'}"
>
<img src="/images/elements/geo.png" alt="geo" class="w-8 h-8" style="min-width: 2rem;" />
</button>
</div>
<div class="flex items-center justify-center md:justify-start">
<button