Skip to content

Commit

Permalink
spport_accession_or_category_to_search
Browse files Browse the repository at this point in the history
  • Loading branch information
zprobot committed Dec 16, 2023
1 parent 6392dcd commit 632542c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/information/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
v-model="searchProject"
size="large"
style="width: 30%; margin: 1.5rem 0"
placeholder="Search"
placeholder="Accession or Category "
:suffix-icon="Search"
/>
</div>
Expand Down Expand Up @@ -105,7 +105,8 @@ const filterTable = computed(() =>
fullTable.value.filter(
(data) =>
!searchProject.value ||
data.accession.id.toLowerCase().includes(searchProject.value.toLowerCase())
data.accession.id.toLowerCase().includes(searchProject.value.toLowerCase()) ||
data.category.toLowerCase().includes(searchProject.value.toLowerCase())
)
)
Expand Down

0 comments on commit 632542c

Please sign in to comment.