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.
package/package.json
CHANGED
|
@@ -248,9 +248,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
248
248
|
},
|
|
249
249
|
ElementPathSetter: function(uiSchema: any,copiedFormData?: any){
|
|
250
250
|
const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
251
|
-
const
|
|
252
|
-
const componentName = completePath[completePath.length - 2];
|
|
253
|
-
const elementHeading = formData.name ? `Copied Element: ${formData.name}` : `Copied Event: ${componentName} Event Type: ${formData.eventType} `;
|
|
251
|
+
const elementHeading = formData.name ? `Copied Element: ${formData.name}` : `Event Type: ${formData.eventType} `;
|
|
254
252
|
uiSchema.elements[2].elements[1].config.main.heading = elementHeading;
|
|
255
253
|
}
|
|
256
254
|
}
|