From 82185794a84eaf17b02655a7ede50c2fa9edbd18 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 4 May 2022 17:08:31 +0200 Subject: [PATCH] :bug: Fix shapes filter --- frontend/src/app/main/ui/workspace/sidebar/layers.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs index bec953870..948cfdb6f 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs @@ -368,7 +368,10 @@ search-and-filters (fn [[id shape]] (let [search (:search-text @filter-state) - filters (:active-filters @filter-state)] + filters (:active-filters @filter-state) + filters (cond-> filters + (some #{:shape} filters) + (conj :rect :circle :path :bool))] (or (= uuid/zero id) (and