mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 17:16:11 +02:00
Merge pull request #1760 from penpot/fix-name-component
Fix name component
This commit is contained in:
commit
a8a47dca8f
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