From 08a45637c8295caf16e542a0e547fea217e72015 Mon Sep 17 00:00:00 2001 From: Ionys <9364594+Ionys320@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:51:19 +0100 Subject: [PATCH] feat(search): Enhance search by filtering with `hostname` and `dns_resolve_server` --- src/components/MonitorList.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index a69389e54..43196a11d 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -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)); }