- legen-entry.component: any action via buttons
- Moment.Pipe insider core/time module - dataset.service.ts: init initial timespan with current week timestamps
This commit is contained in:
parent
d6abaa0d6d
commit
799d08bd0b
11 changed files with 97 additions and 51 deletions
|
@ -1,7 +1,7 @@
|
|||
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
|
||||
|
||||
|
||||
import { GeomonTimeseries, DatasetFilter, DatasetType } from '../../../shared/models/dataset';
|
||||
import { GeomonTimeseries, DatasetFilter } from '../../../shared/models/dataset';
|
||||
import { TimeInterval } from '../../../shared/models/timespan';
|
||||
import { DatasetApiService } from '../../services/dataset-api.service';
|
||||
import { InternalIdHandler, InternalDatasetId } from '../../../common/components/services/internal-id-handler.service';
|
||||
|
@ -144,7 +144,7 @@ export class LegendEntryComponent {
|
|||
|
||||
// private checkDataInTimespan() {
|
||||
// if (this.timeInterval && this.dataset && this.dataset.firstValue && this.dataset.lastValue) {
|
||||
// this.hasData = this.timeSrvc.overlaps(
|
||||
// this.hasData = this.timeService.overlaps(
|
||||
// this.timeInterval,
|
||||
// this.dataset.firstValue.timestamp,
|
||||
// this.dataset.lastValue.timestamp
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue