Merge pull request #1760 from penpot/fix-name-component

Fix name component
This commit is contained in:
Eva Marco 2022-03-30 16:51:42 +02:00 committed by GitHub
commit a8a47dca8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

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