mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-02 00:10:42 +02:00
feat(search): Enhance search by filtering with hostname
and dns_resolve_server
This commit is contained in:
parent
39da894598
commit
08a45637c8
@ -328,6 +328,8 @@ export default {
|
||||
searchTextMatch =
|
||||
monitor.name.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.url?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.hostname?.toLowerCase().includes(loweredSearchText)
|
||||
|| monitor.dns_resolve_server?.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