1
0
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:
Ionys 2024-12-14 22:51:19 +01:00
parent 39da894598
commit 08a45637c8

View File

@ -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));
}