feat(search): Enhance search by filtering by URLs

pull/5438/head
Ionys 1 month ago
parent efdffca06c
commit 39da894598

@ -327,6 +327,7 @@ export default {
const loweredSearchText = this.searchText.toLowerCase(); const loweredSearchText = this.searchText.toLowerCase();
searchTextMatch = searchTextMatch =
monitor.name.toLowerCase().includes(loweredSearchText) monitor.name.toLowerCase().includes(loweredSearchText)
|| monitor.url?.toLowerCase().includes(loweredSearchText)
|| monitor.tags.find(tag => tag.name.toLowerCase().includes(loweredSearchText) || monitor.tags.find(tag => tag.name.toLowerCase().includes(loweredSearchText)
|| tag.value?.toLowerCase().includes(loweredSearchText)); || tag.value?.toLowerCase().includes(loweredSearchText));
} }

Loading…
Cancel
Save