impaktapps-ui-builder 0.0.963-copyElement.1005 → 0.0.963-copyElement.1006
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
|
@@ -216,7 +216,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
216
216
|
const insertComponentPath = formData.elements.length;
|
|
217
217
|
const finalPath = `${path}.elements[${insertComponentPath}]`;
|
|
218
218
|
const copiedData = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
219
|
-
if(!copiedData.
|
|
219
|
+
if(!copiedData.type){
|
|
220
220
|
store.setNotify({
|
|
221
221
|
FailMessage: "Pasting element not Valid",
|
|
222
222
|
Fail: true,
|