mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-02 00:10:42 +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();
|
||||
searchTextMatch =
|
||||
monitor.name.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.url?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.tags.find(tag => tag.name.toLowerCase().includes(loweredSearchText)
|
||||
|| tag.value?.toLowerCase().includes(loweredSearchText));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user