impaktapps-ui-builder 0.0.963-copyElement.1029 → 0.0.963-copyElement.1030
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.
|
@@ -8498,9 +8498,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8498
8498
|
},
|
|
8499
8499
|
ElementPathSetter: function(uiSchema, copiedFormData) {
|
|
8500
8500
|
const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8501
|
-
const
|
|
8502
|
-
const componentName = completePath[completePath.length - 2];
|
|
8503
|
-
const elementHeading = formData.name ? `Copied Element: ${formData.name}` : `Copied Event: ${componentName} Event Type: ${formData.eventType} `;
|
|
8501
|
+
const elementHeading = formData.name ? `Copied Element: ${formData.name}` : `Event Type: ${formData.eventType} `;
|
|
8504
8502
|
uiSchema.elements[2].elements[1].config.main.heading = elementHeading;
|
|
8505
8503
|
}
|
|
8506
8504
|
};
|