From 2d872865ff49823ad5a370c0aa569e58a2d42da7 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Mon, 22 Jul 2024 10:37:42 +0200 Subject: [PATCH] add header data search --- src/Frontend/src/pages/IndexPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Frontend/src/pages/IndexPage.vue b/src/Frontend/src/pages/IndexPage.vue index e3e1771..c31a2f6 100644 --- a/src/Frontend/src/pages/IndexPage.vue +++ b/src/Frontend/src/pages/IndexPage.vue @@ -162,7 +162,7 @@ const otherHeaders = computed(() => { const filterTerm = filter.value?.toLowerCase() if (filterTerm) { - return mailHeaderParts.value?.filter(header => header.headerName.toLowerCase().includes(filterTerm)) + return mailHeaderParts.value?.filter(header => header.headerName.toLowerCase().includes(filterTerm) || header.headerData.toLowerCase().includes(filterTerm)) } return filteredHeaders })