mirror of
https://github.com/penpot/penpot.git
synced 2026-03-31 00:29:37 +02:00
✨ Import/export folders in library elements
This commit is contained in:
@@ -393,6 +393,7 @@
|
||||
|
||||
(let [selrect init/empty-selrect
|
||||
name (:name data)
|
||||
path (:path data)
|
||||
obj (-> (init/make-minimal-group nil selrect name)
|
||||
(merge data)
|
||||
(check-name file :group)
|
||||
@@ -402,6 +403,7 @@
|
||||
{:type :add-component
|
||||
:id (:id obj)
|
||||
:name name
|
||||
:path path
|
||||
:shapes [obj]})
|
||||
|
||||
(assoc :last-id (:id obj))
|
||||
|
||||
Reference in New Issue
Block a user