mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-20 03:29:25 +02:00
feat(search): Enhance search by filtering by URLs
This commit is contained in:
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…
x
Reference in New Issue
Block a user