@capillarytech/creatives-library 0.1.17 → 0.1.18
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,7 +468,7 @@ export class WeChat extends React.Component { // eslint-disable-line react/prefe
|
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
470
|
}
|
|
471
|
-
if (nextProps.location.query.type === "embedded" && nextProps.location.query.module === "library" && nextProps.templateData) {
|
|
471
|
+
if (nextProps.location.query.type === "embedded" && nextProps.location.query.module === "library" && nextProps.templateData && nextProps.templateData.versions) { // Edit of already added message in library mode
|
|
472
472
|
this.setState({editTemplateData: nextProps.templateData}, () => {
|
|
473
473
|
this.setEditData();
|
|
474
474
|
});
|