Mark Lenser pushed to branch feature/visual-editing-psp1-CHANELLMGR-919 at cms-community / hippo-addon-channel-manager
Commits: dc3d9dfc by Mark at 2016-11-23T11:03:59+01:00 CHANNELMGR-919 my "let tobi rename" overwrote tobi's rename. Fix that. - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js Changes: ===================================== frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js ===================================== --- a/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js +++ b/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/rightSidePanel.component.js @@ -58,9 +58,9 @@ export class ChannelRightSidePanelCtrl { this._resizeTextareas(); }); }) - .catch((error) => { - if (error) { - this.doc = error.data; + .catch((response) => { + if (response) { + this.doc = response.data; this.state = this.doc.info.editing.state; } else { this.state = 'UNAVAILABLE_CONTENT'; View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/dc3d9dfc9a0b391742f4eb0ef5243cfb4cd7652c
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn