Skip to content

Commit

Permalink
Revert "Added ModelManager.initialize"
Browse files Browse the repository at this point in the history
This reverts commit b0b74b2.
  • Loading branch information
mariuscernescu committed Sep 13, 2023
1 parent 9903864 commit 018cc79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"url": "https://github.com/adobe/aem-angular-editable-components/issues"
},
"engines": {
"npm": ">=8.14.0",
"npm": ">=9.7.1",
"node": ">=16.14.2"
},
"scripts": {
Expand Down
Expand Up @@ -67,8 +67,7 @@ export class AEMModelProviderComponent {
});
}

async ngOnInit(): Promise<void> {
await ModelManager.initialize();
ngOnInit(): void {
if (!this.cqItem && this.pagePath) {
this.cqPath = Utils.getCQPath(this.pagePath, this.itemPath);
this.updateDataPath.emit({ cqPath: this.cqPath });
Expand Down

0 comments on commit 018cc79

Please sign in to comment.