浏览代码

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();
     });
   }