Copy values of same named properties moving a variant into another (#6288)

*  Copy values of same named properties moving a variant into another

*  Add MR changes
This commit is contained in:
Pablo Alba 2025-04-15 12:06:58 +02:00 committed by GitHub
parent ec8c30f060
commit f4b16a255c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 163 additions and 80 deletions

View file

@ -403,6 +403,7 @@
(defn rename-variant
"Rename the variant container and all components belonging to this variant"
[variant-id name]
(ptk/reify ::rename-variant
@ -426,6 +427,8 @@
(defn rename-comp-or-variant-and-main
"If the component is in a variant, rename the variant.
If it is not, rename the component and its main"
[component-id name]
(ptk/reify ::rename-comp-or-variant-and-main