Do not allow the creation of groups, masks nor boolean in copies

This commit is contained in:
Pablo Alba 2023-10-10 18:07:15 +02:00 committed by Andrés Moya
parent b4d78d2fd7
commit 51fe27369b
7 changed files with 37 additions and 21 deletions

View file

@ -109,7 +109,8 @@
[:parent-id ::sm/uuid]
[:shapes :any]
[:index {:optional true} [:maybe :int]]
[:after-shape {:optional true} :any]]]
[:after-shape {:optional true} :any]
[:component-swap {:optional true} :boolean]]]
[:reorder-children
[:map {:title "ReorderChildrenChange"}

View file

@ -531,7 +531,7 @@
(merge-path other-path item))))
[other-path last-item false]))))
(defn prev-path
(defn butlast-path
"Remove the last item of the path."
[path]
(let [split (split-path path)]