@capillarytech/creatives-library 0.1.1 → 0.1.2
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.
|
@@ -715,12 +715,14 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
715
715
|
// "template-content": (this.props.Templates.selectedEmailLayout ? this.props.Templates.selectedEmailLayout : ''),
|
|
716
716
|
// };
|
|
717
717
|
// if (this.props.Templates.CmsSettings) {}
|
|
718
|
-
if (!
|
|
719
|
-
this.
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
718
|
+
if (!this.props.location.query.module === "library") {
|
|
719
|
+
if (!_.isEmpty(this.props.Templates.edmTemplate) && this.props.Templates.edmTemplate.versions.base.is_drag_drop) {
|
|
720
|
+
this.setState({isDragDrop: true});
|
|
721
|
+
if (this.props.params.id) {
|
|
722
|
+
this.props.actions.getCmsSetting('edm', this.props.Templates.edmTemplate.versions.base.drag_drop_id, 'open');
|
|
723
|
+
} else {
|
|
724
|
+
this.props.actions.getCmsSetting('edm', this.props.Templates.edmTemplate.versions.base.drag_drop_id, 'create');
|
|
725
|
+
}
|
|
724
726
|
}
|
|
725
727
|
}
|
|
726
728
|
console.log('Form Data ', formData);
|