0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-11 09:20:26 -05:00

🐛 Fix shapes filter

This commit is contained in:
Pablo Alba 2022-05-04 17:08:31 +02:00 committed by Alonso Torres
parent 053975ef82
commit 82185794a8

View file

@ -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