From 39da894598d83bc4bf80d6a34e582284464b39c8 Mon Sep 17 00:00:00 2001 From: Ionys <9364594+Ionys320@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:43:16 +0100 Subject: [PATCH] feat(search): Enhance search by filtering by URLs --- src/components/MonitorList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/MonitorList.vue b/src/components/MonitorList.vue index a579316b3..a69389e54 100644 --- a/src/components/MonitorList.vue +++ b/src/components/MonitorList.vue @@ -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)); }