feat(search): Enhance search by filtering with `hostname` and `dns_resolve_server`

pull/5438/head
Ionys 2 weeks ago
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…
Cancel
Save