impaktapps-ui-builder 0.0.963-copyElement.1009 → 0.0.963-copyElement.1010

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.
@@ -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 (!copiedData.Handler) {
8458
+ if (copiedData.Handler) {
8459
8459
  store2.setNotify({
8460
8460
  FailMessage: "Pasting element not Valid",
8461
8461
  Fail: true