Skip to content

Commit

Permalink
fix(frontend): ignore case in collection search for followed (#3005)
Browse files Browse the repository at this point in the history
* 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 #1370

* chore: revert import sort
  • Loading branch information
Erb3 authored Dec 15, 2024
1 parent 58cbc1a commit 9aa7035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/pages/dashboard/collections.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down

0 comments on commit 9aa7035

Please sign in to comment.