🎉 Allow to duplicate components with main instance

This commit is contained in:
Andrés Moya 2022-06-17 16:44:32 +02:00
parent ce09ea6eb5
commit 165cdd871f
4 changed files with 49 additions and 15 deletions

View file

@ -276,7 +276,11 @@
(dorun (for [component (vals components)]
(do
(println)
(println (str/format "[%s]" (:name component)))
(println (str/format "[%s]" (:name component))
(when show-ids
(str/format " (main: %s/%s)"
(:main-instance-page component)
(:main-instance-id component))))
(show-shape (:id component) 0 (:objects component)))))))))
(defn ^:export dump-tree