@eqproject/eqp-dynamic-module 2.6.23 → 2.6.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10984,7 +10984,11 @@ class EqpDynamicModuleConfiguratorComponent {
10984
10984
  if (this.importedModule != null) {
10985
10985
  if (confirm("stai per sovrascrivere il modulo")) {
10986
10986
  // chiamo il parse così da non creare un referenceBinding
10987
- this.setFormAndConfigure(JSON.parse(this.importedModule));
10987
+ var importedForm = JSON.parse(this.importedModule);
10988
+ importedForm.ID = "";
10989
+ importedForm.Name = importedForm.Name + " (Importato)";
10990
+ this.setName(importedForm.Name);
10991
+ this.setFormAndConfigure(importedForm);
10988
10992
  this.closeImport();
10989
10993
  }
10990
10994
  }