Ver código fonte

fix: correct event listener for adjuster init()

jmacura 4 anos atrás
pai
commit
b738facb0d
1 arquivos alterados com 1 adições e 1 exclusões
  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();
     });
   }