Handle waiting for google library
This commit is contained in:
@@ -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> {
|
||||
|
||||
@@ -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}`])
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user