impaktapps-ui-builder 0.0.963-copyElement.1009 → 0.0.963-copyElement.1011
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/dist/impaktapps-ui-builder.es.js +2 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -5
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
|
@@ -8455,7 +8455,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8455
8455
|
const insertComponentPath = formData.elements.length;
|
|
8456
8456
|
const finalPath = path ? `${path}.elements[${insertComponentPath}]` : `elements[${insertComponentPath}]`;
|
|
8457
8457
|
const copiedData = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8458
|
-
if (
|
|
8458
|
+
if (copiedData.Handler) {
|
|
8459
8459
|
store2.setNotify({
|
|
8460
8460
|
FailMessage: "Pasting element not Valid",
|
|
8461
8461
|
Fail: true
|
|
@@ -8601,7 +8601,7 @@ var pageMaster = (funcParams) => {
|
|
|
8601
8601
|
Component(store2, dynamicData2, submitHandler, service2).CopyComponent(store2);
|
|
8602
8602
|
},
|
|
8603
8603
|
PasteComponent: function() {
|
|
8604
|
-
Component(store2, dynamicData2, submitHandler, service2).PasteComponent(store2);
|
|
8604
|
+
Component(store2, dynamicData2, submitHandler, service2).PasteComponent(store2, this.setPage);
|
|
8605
8605
|
},
|
|
8606
8606
|
RemoveItemButton: function() {
|
|
8607
8607
|
Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(store2);
|