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 by URLs

This commit is contained in:
Ionys 2024-12-14 22:43:16 +01:00
parent efdffca06c
commit 39da894598

View File

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