impaktapps-ui-builder 0.0.963-copyElement.1011 → 0.0.963-copyElement.1012
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 +3 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +3 -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,setPage = this.setPage){
|
|
211
|
+
PasteComponent: function(paramStore = store, setPage = this.setPage.bind(this)){
|
|
212
212
|
// const schema = cloneDeep(store.schema);
|
|
213
213
|
|
|
214
214
|
const path = store.searchParams?.get("path");
|
|
@@ -114,7 +114,9 @@ export default (funcParams: funcParamsProps) => {
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
PasteComponent: function(){
|
|
117
|
-
Component(store, dynamicData, submitHandler, service).PasteComponent(store,this.setPage)
|
|
117
|
+
// Component(store, dynamicData, submitHandler, service).PasteComponent(store,this.setPage)
|
|
118
|
+
const component = Component(store, dynamicData, submitHandler, service);
|
|
119
|
+
component.PasteComponent(store, this.setPage.bind(this));
|
|
118
120
|
},
|
|
119
121
|
|
|
120
122
|
RemoveItemButton: function(){
|