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.
|
@@ -8454,7 +8454,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8454
8454
|
const insertComponentPath = formData.elements.length;
|
|
8455
8455
|
const finalPath = `${path}.elements[${insertComponentPath}]`;
|
|
8456
8456
|
const copiedData = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8457
|
-
if (!copiedData.
|
|
8457
|
+
if (!copiedData.type) {
|
|
8458
8458
|
store2.setNotify({
|
|
8459
8459
|
FailMessage: "Pasting element not Valid",
|
|
8460
8460
|
Fail: true
|