소스 검색

fix: correct event listener for adjuster init()

jmacura 4 년 전
부모
커밋
b738facb0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/app.service.ts

+ 1 - 1
src/app.service.ts

@@ -134,7 +134,7 @@ export class AppService {
     /*this.hsMapService
       .loaded()
       .then((map) => this.hsMapService.repopulateLayers([]));*/
-    this.hsEventBus.layerLoads.subscribe(() => {
+    this.hsEventBus.layoutLoads.subscribe(() => {
       this.init();
     });
   }