mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 00:22:36 +02:00
🐛 Fix shapes filter
This commit is contained in:
parent
053975ef82
commit
82185794a8
1 changed files with 4 additions and 1 deletions
|
@ -368,7 +368,10 @@
|
||||||
search-and-filters
|
search-and-filters
|
||||||
(fn [[id shape]]
|
(fn [[id shape]]
|
||||||
(let [search (:search-text @filter-state)
|
(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
|
(or
|
||||||
(= uuid/zero id)
|
(= uuid/zero id)
|
||||||
(and
|
(and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue