♻️ Cleanup of componentsv2

This commit is contained in:
Pablo Alba
2025-04-01 16:45:40 +02:00
parent 1e16fb8ca2
commit f961b75bba
39 changed files with 282 additions and 1207 deletions

View File

@@ -555,7 +555,7 @@
objects (deref refs/workspace-page-objects)
can-make-component (every? true? (map #(ctn/valid-shape-for-component? objects %) shapes))
heads (filter ctk/instance-head? shapes)
components-menu-entries (cmm/generate-components-menu-entries heads true)
components-menu-entries (cmm/generate-components-menu-entries heads)
variant-container? (and single? (ctk/is-variant-container? (first shapes)))
do-add-component #(st/emit! (dwl/add-component))
do-add-multiple-components #(st/emit! (dwl/add-multiple-components))