@capillarytech/creatives-library 8.0.335 → 8.0.337

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.335",
4
+ "version": "8.0.337",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -1379,6 +1379,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
1379
1379
  saveObj: {},
1380
1380
  showEdmEmailTemplates: false,
1381
1381
  editDataSet: false,
1382
+ isGetBeeData: false,
1382
1383
  }, () => {
1383
1384
 
1384
1385
  });
@@ -2831,7 +2832,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2831
2832
  }
2832
2833
 
2833
2834
  handleCancel = () => {
2834
- this.setState({ showConfirmationModal: false });
2835
+ this.setState({ showConfirmationModal: false, editDataSet: false, isGetBeeData: false });
2835
2836
  }
2836
2837
 
2837
2838
  handleCancelModal = () => {
@@ -231,7 +231,6 @@ const useEmailWrapper = ({
231
231
  const hasTemplateDetails = Email?.templateDetails && !isEmpty(Email.templateDetails);
232
232
  // Note: We check Email?.BEETemplate as a proxy, but the actual BEETemplate is in Templates reducer
233
233
  // The Email component will detect it via this.props.Templates.BEETemplate
234
- console.log(Email, "fkjhsgfgdkl");
235
234
  const hasBEETemplate = Email?.BEETemplate && !isEmpty(Email.BEETemplate);
236
235
 
237
236
  if (hasTemplateDetails && !hasBEETemplate && templatesActions?.setBEETemplate && !beeTemplateSetRef.current) {
@@ -252,7 +251,6 @@ const useEmailWrapper = ({
252
251
  };
253
252
 
254
253
  const isDragDrop = getIsDragDrop(editTemplateData);
255
- console.log(isDragDrop, "isDragDrop");
256
254
  // If it's a BEE template, set it in Templates.BEETemplate
257
255
  if (isDragDrop) {
258
256
  beeTemplateSetRef.current = true;