mirror of
https://github.com/penpot/penpot.git
synced 2026-05-10 10:38:17 +00:00
Fix default value for collapsed attribute.
This commit is contained in:
parent
0bd8847f56
commit
f26e1eb70f
@ -212,7 +212,7 @@
|
||||
toggle-blocking #(toggle-blocking item %)]
|
||||
(letfn [(toggle-collapse [event]
|
||||
(dom/stop-propagation event)
|
||||
(if (:collapsed item)
|
||||
(if (:collapsed item true)
|
||||
(st/emit! (uds/uncollapse-shape id))
|
||||
(st/emit! (uds/collapse-shape id))))
|
||||
(toggle-locking [event]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user