impaktapps-ui-builder 0.0.963-copyElement.1006 → 0.0.963-copyElement.1007

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.963-copyElement.1006",
3
+ "version": "0.0.963-copyElement.1007",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -216,18 +216,18 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
216
216
  const insertComponentPath = formData.elements.length;
217
217
  const finalPath = `${path}.elements[${insertComponentPath}]`;
218
218
  const copiedData = JSON.parse(sessionStorage.getItem("copiedConfig"));
219
- if(!copiedData.type){
220
- store.setNotify({
221
- FailMessage: "Pasting element not Valid",
222
- Fail: true,
223
- });
224
- }
225
- else{
219
+ // if(!copiedData.type){
220
+ // store.setNotify({
221
+ // FailMessage: "Pasting element not Valid",
222
+ // Fail: true,
223
+ // });
224
+ // }
225
+ // else{
226
226
  saveFormdataInSessionStorage(copiedData, finalPath);
227
227
  sessionStorage.removeItem('copiedConfig');
228
228
 
229
229
  this.setPage();
230
- }
230
+ // }
231
231
  },
232
232
 
233
233
  RemoveItemButton: function(paramStore){