Skip to content

Commit

Permalink
feat: support for remote angular app editing in AEM
Browse files Browse the repository at this point in the history
  • Loading branch information
sharanyavinod committed Aug 30, 2021
1 parent 4d4c69c commit 1671ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ export class AEMModelProviderComponent {
if (this.pagePath && Utils.isInEditor()) {
PathUtils.dispatchGlobalCustomEvent(Constants.ASYNC_CONTENT_LOADED_EVENT, {});
}
this.aemComponent.changeDetectorRef.markForCheck();
if (this.aemComponent) {
this.aemComponent.changeDetectorRef.markForCheck();
}
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/layout/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
// import { normalize } from 'path';

/**
* Selector that identifies the node that contains the WCM mode state.
* @private
Expand Down

0 comments on commit 1671ec2

Please sign in to comment.