Import/export folders in library elements

This commit is contained in:
alonso.torres 2021-07-05 18:14:49 +02:00
parent f312c122ca
commit ddbdc2a27f
6 changed files with 48 additions and 23 deletions

View file

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