From 5b675393b628a139277ccfdf0215c2431fec14e1 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 13 May 2025 11:56:48 +0200 Subject: [PATCH] added new adb dashboard --- public/plugins/vue/tt-components/tt-table.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/plugins/vue/tt-components/tt-table.js b/public/plugins/vue/tt-components/tt-table.js index e6120c0a6..d2e0f9699 100644 --- a/public/plugins/vue/tt-components/tt-table.js +++ b/public/plugins/vue/tt-components/tt-table.js @@ -742,7 +742,13 @@ Vue.component('tt-table', { } } else if (header.filter === 'select' || header.filter === 'iconSelect' || header.filter === 'autocomplete') { if (filterValue === '') continue; - if (filterValue !== row[header.key]?.toString()) { + if (Array.isArray(filterValue)) { + if (filterValue.length === 0) continue; + if (!filterValue.includes(row[header.key]?.toString())) { + match = false; + break; + } + } else if (filterValue !== row[header.key]?.toString()) { match = false; break; }