Przeglądaj źródła

📝 document TODOs

jmacura 3 lat temu
rodzic
commit
a6efba6c2c

+ 1 - 0
src/app/irrigation/reservoir-history-panel.component.ts

@@ -25,6 +25,7 @@ export class ReservoirHistoryPanelComponent implements HsPanelComponent {
     public hsLanguageService: HsLanguageService,
     public hsLayoutService: HsLayoutService
   ) {
+    //TODO: create this dynamically
     this.availableDates = [
       '2022-05-20T03:00:00Z',
       '2022-05-20T02:00:00Z',

+ 1 - 0
src/app/irrigation/reservoir-history.service.ts

@@ -34,6 +34,7 @@ export class ReservoirHistoryService {
         dataProjection: 'EPSG:3857',
       }*/),
       url: (extent) => {
+        //TODO: change this based on the this.timeStamp
         const timeStampEnd = '2022-05-20T04:00:05.603Z';
         const crossOrigin = !window.location.hostname.includes('gis.atapex.sk');
         const proxyPath = window.location.hostname.includes('localhost')