impaktapps-ui-builder 0.0.963-copyElement.1012 → 0.0.963-copyElement.1013
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 +10 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +5 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +5 -1
package/package.json
CHANGED
|
@@ -83,7 +83,11 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
83
83
|
return getFormdataFromSessionStorage(path)
|
|
84
84
|
},
|
|
85
85
|
getSchema: function () {
|
|
86
|
-
|
|
86
|
+
const schema = _.cloneDeep(ComponentSchema);
|
|
87
|
+
if (sessionStorage.getItem("copiedConfig") ) {
|
|
88
|
+
schema.properties.RemoveItemButton.disabled = false;
|
|
89
|
+
}
|
|
90
|
+
return schema;
|
|
87
91
|
},
|
|
88
92
|
okHandler: () => okHandler(store),
|
|
89
93
|
saveHandler: async () => await saveHandler(store, service, submitHandler, "PageMaster"),
|
|
@@ -42,7 +42,11 @@ export default (funcParams: funcParamsProps) => {
|
|
|
42
42
|
return UiSchema;
|
|
43
43
|
},
|
|
44
44
|
getSchema: () => {
|
|
45
|
-
|
|
45
|
+
const schema = _.cloneDeep(PageMasterSchema);
|
|
46
|
+
if (sessionStorage.getItem("copiedConfig") ) {
|
|
47
|
+
schema.properties.RemoveItemButton.disabled = false;
|
|
48
|
+
}
|
|
49
|
+
return schema;
|
|
46
50
|
},
|
|
47
51
|
backHandler: () => {
|
|
48
52
|
sessionStorage.removeItem("pageFormdata")
|