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
package/package.json
CHANGED
|
@@ -208,7 +208,7 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
|
|
211
|
-
PasteComponent: function(paramStore = store,
|
|
211
|
+
PasteComponent: function(paramStore = store,setPage = this.setPage){
|
|
212
212
|
// const schema = cloneDeep(store.schema);
|
|
213
213
|
|
|
214
214
|
const path = store.searchParams?.get("path");
|
|
@@ -220,11 +220,8 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
220
220
|
|
|
221
221
|
const finalPath = path ? `${path}.elements[${insertComponentPath}]` : `elements[${insertComponentPath}]`;
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
223
|
const copiedData = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
227
|
-
if(
|
|
224
|
+
if(copiedData.Handler){
|
|
228
225
|
store.setNotify({
|
|
229
226
|
FailMessage: "Pasting element not Valid",
|
|
230
227
|
Fail: true,
|
|
@@ -114,7 +114,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
PasteComponent: function(){
|
|
117
|
-
Component(store, dynamicData, submitHandler, service).PasteComponent(store)
|
|
117
|
+
Component(store, dynamicData, submitHandler, service).PasteComponent(store,this.setPage)
|
|
118
118
|
},
|
|
119
119
|
|
|
120
120
|
RemoveItemButton: function(){
|