@capillarytech/creatives-library 0.1.4 → 0.1.6
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.
|
@@ -709,9 +709,6 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
709
709
|
if (this.props.params.id) {
|
|
710
710
|
this.props.actions.getTemplateDetails(this.props.params.id, 'email');
|
|
711
711
|
}
|
|
712
|
-
if (this.props.location.query.module === "library" && this.props.templateData) {
|
|
713
|
-
this.props.templatesActions.resetTemplateData();
|
|
714
|
-
}
|
|
715
712
|
});
|
|
716
713
|
}
|
|
717
714
|
// formData[0] = {
|
|
@@ -719,6 +716,9 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
719
716
|
// };
|
|
720
717
|
// if (this.props.Templates.CmsSettings) {}
|
|
721
718
|
const isEdmSupport = (this.props.location.query.isEdmSupport !== "false") || false;
|
|
719
|
+
if (this.props.location.query.module === "library" && this.props.templateData) {
|
|
720
|
+
this.props.templatesActions.resetTemplateData();
|
|
721
|
+
}
|
|
722
722
|
if (!_.isEmpty(this.props.Templates.edmTemplate) && this.props.Templates.edmTemplate.versions.base.is_drag_drop) {
|
|
723
723
|
this.setState({isDragDrop: true});
|
|
724
724
|
if (this.props.params.id) {
|