Skip to content
Snippets Groups Projects
Commit af7012ca authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix(show selector): show name search should be case-insensitive

parent d4eaa6e2
No related branches found
No related tags found
No related merge requests found
Pipeline #3040 passed
......@@ -103,7 +103,8 @@ const filteredShows = computed(() => {
.filter((show) => (filterActive.value !== null ? show.is_active === filterActive.value : true))
.filter(
(show) =>
show.name.includes(showSearchQuery.value) || show.id.toString() === showSearchQuery.value,
show.name.toLocaleLowerCase().includes(showSearchQuery.value) ||
show.id.toString() === showSearchQuery.value,
)
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment