From d9df953c9e74d612942ef0b8211d0b5eb4309704 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Tue, 21 Feb 2023 13:03:49 +0600 Subject: [PATCH] Hide hidden filter (#2669) Signed-off-by: Denis Bykhov --- .../view-resources/src/components/filter/FilterTypePopup.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/view-resources/src/components/filter/FilterTypePopup.svelte b/plugins/view-resources/src/components/filter/FilterTypePopup.svelte index 56cd609fec..2dc0fdfd60 100644 --- a/plugins/view-resources/src/components/filter/FilterTypePopup.svelte +++ b/plugins/view-resources/src/components/filter/FilterTypePopup.svelte @@ -56,6 +56,7 @@ function buildFilterFromKey (_class: Ref>, key: string): KeyFilter | undefined { const attribute = hierarchy.getAttribute(_class, key) + if (attribute.hidden) return return buildFilterKey(hierarchy, _class, key, attribute) }