Handle waiting for google library

This commit is contained in:
Michał Zieliński
2023-11-07 21:32:27 +01:00
parent 3a805216a5
commit 0d1ff852e3
6 changed files with 50 additions and 48 deletions

View File

@@ -48,7 +48,6 @@ export class LayerEditComponent implements OnInit {
async ngOnInit() {
this.document = await this.load();
console.log(this.document);
}
private async load(): Promise<Layer> {

View File

@@ -69,7 +69,6 @@ export class LayersListComponent implements OnInit {
}
openInNewTab(element: Layer) {
console.log(element);
const url = this._router.serializeUrl(
this._router.createUrlTree([`/app/layers/Detail/${element.id}`])
);