@capillarytech/creatives-library 8.0.345-alpha.8 → 8.0.345-alpha.9
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
|
@@ -476,6 +476,10 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
|
+
console.log('[Rafeeq manzoor] here we have data 1', this.state.isEdit, nextProps.location.query.module);
|
|
480
|
+
console.log('[Rafeeq manzoor] here we have data 2', nextProps.templateData, !_.isEmpty(nextProps.templateData), this.props.params.id, nextProps.isGetFormData);
|
|
481
|
+
console.log('[Rafeeq manzoor] here we have data 3', _.isEmpty(_.get(this, `state.formData['template-subject']`)));
|
|
482
|
+
|
|
479
483
|
if (this.state.isEdit && nextProps.location.query.module === "library" && !_.isEmpty(nextProps.templateData) && !this.props.params.id && !nextProps.isGetFormData && _.isEmpty(_.get(this, `state.formData['template-subject']`))) {
|
|
480
484
|
this.startTemplateCreation(nextProps.templateData);
|
|
481
485
|
}
|