Przeglądaj źródła

🔥 remove useless startup toast message

jmacura 3 lat temu
rodzic
commit
a50b0341f8
1 zmienionych plików z 0 dodań i 13 usunięć
  1. 0 13
      src/app/app.component.ts

+ 0 - 13
src/app/app.component.ts

@@ -49,18 +49,5 @@ export class AppComponent {
       this.hsLanguageService.setLanguage('cs');
       this.hsLayoutService.setDefaultPanel('calculator');
     });
-    /* Now wait for the OpenLayers Map object to load */
-    //TODO: Wait for the LPIS layer instead
-    this.hsEventBus.olMapLoads.subscribe(() => {
-      /* ...and display a simple toast message in the bottom-left corner */
-      this.hsToastService.createToastPopupMessage(
-        'READY!',
-        'Your map is now ready to use.',
-        {
-          toastStyleClasses:
-            'bg-success text-white' /* Use any Bootstrap class here, see https://getbootstrap.com/docs/4.0/utilities/colors/ */,
-        }
-      );
-    });
   }
 }