mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 00:26:12 +02:00
🐛 Fix show component name in sidebar
This commit is contained in:
parent
97e97d0984
commit
a434318535
2 changed files with 4 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
;; NOTE: this is necessary because the `cph/get-component`
|
||||
;; expects a map of all libraries, including the local one.
|
||||
libraries (assoc libraries (:id local-file) local-file)
|
||||
libraries (assoc libraries (:id local-file) {:data local-file})
|
||||
|
||||
component (cph/get-component libraries library-id component-id)
|
||||
show? (some? component-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue