Skip to content

Commit

Permalink
Merge pull request #3 from Eisvana/dev
Browse files Browse the repository at this point in the history
make search case insensitive
  • Loading branch information
Lenni009 authored Jul 22, 2024
2 parents 3688e0c + e1f8eb7 commit cbe779f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const paramSearch = params.get('name');
const searchTerm = ref(paramSearch ?? '');
const filteredData = computed(() => systems.filter((item) => item.Discoverer.includes(searchTerm.value)));
const filteredData = computed(() =>
systems.filter((item) => item.Discoverer.toLowerCase().includes(searchTerm.value.toLowerCase()))
);
</script>

<template>
Expand Down

0 comments on commit cbe779f

Please sign in to comment.