@capillarytech/creatives-library 8.0.82-alpha.0 → 8.0.82
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.
|
@@ -1931,7 +1931,6 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
|
|
|
1931
1931
|
if (this.state.saveEdmDataMode === 'validation') {
|
|
1932
1932
|
this.getValidationData();
|
|
1933
1933
|
} else if (this.state.saveEdmDataMode === 'save') {
|
|
1934
|
-
console.log('***handleEdmSave -1935', this.state.saveObj);
|
|
1935
1934
|
this.props.actions.createTemplate(this.state.saveObj);
|
|
1936
1935
|
}
|
|
1937
1936
|
}
|
package/package.json
CHANGED
|
@@ -31,6 +31,7 @@ export function* getTemplateDetails(id, channel) {
|
|
|
31
31
|
export function* getCmsData({cmsType, projectId}) {
|
|
32
32
|
try {
|
|
33
33
|
const result = yield call(Api.getCmsData, cmsType, projectId);
|
|
34
|
+
|
|
34
35
|
yield put({ type: types.GET_CMS_EDITOR_DATA_SUCCESS, data: decodeURIComponent(result.data.response.cmsData.htmlContent) });
|
|
35
36
|
} catch (error) {
|
|
36
37
|
yield put({ type: types.GET_CMS_EDITOR_DATA_FAILURE, error });
|