@capillarytech/creatives-library 0.1.18 → 0.1.19
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.
|
@@ -468,11 +468,12 @@ export class WeChat extends React.Component { // eslint-disable-line react/prefe
|
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
470
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
}
|
|
471
|
+
// has to be un commented when wechat edit is implemented in embedded mode.
|
|
472
|
+
// if (nextProps.location.query.type === "embedded" && nextProps.location.query.module === "library" && nextProps.templateData && nextProps.templateData.versions) { // Edit of already added message in library mode
|
|
473
|
+
// this.setState({editTemplateData: nextProps.templateData}, () => {
|
|
474
|
+
// this.setEditData();
|
|
475
|
+
// });
|
|
476
|
+
// }
|
|
476
477
|
if (nextProps.params.id && !_.isEqual(nextProps.params.id, this.props.params.id)) {
|
|
477
478
|
this.setState({isEdit: true});
|
|
478
479
|
}
|
package/package.json
CHANGED
|
File without changes
|