fix(frontend): ignore case in collection search for followed (#3005)

* fix(frontend): ignore case in collection search for followed

When searching for collections, the casing will normally be ignored. The item for "Followed Projects" will be removed if using capitalized characters though. This is especially confusing since it's titled with partially capital letters.

Resolves modrinth/code#1370

* chore: revert import sort
This commit is contained in:
Erb3
2024-12-15 07:15:59 +01:00
committed by GitHub
parent 58cbc1ada5
commit 9aa70359a8

View File

@@ -22,7 +22,7 @@
</div>
<div class="collections-grid">
<nuxt-link
v-if="'followed projects'.includes(filterQuery)"
v-if="'followed projects'.includes(filterQuery.toLowerCase())"
:to="`/collection/following`"
class="universal-card recessed collection"
>