Skip to content

Commit

Permalink
check added for empty dateSet
Browse files Browse the repository at this point in the history
  • Loading branch information
amar-c8y committed Apr 15, 2024
1 parent 570e220 commit 226aaab
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ export class AssetPropertiesViewService {
}

updateTimeStamp(dateSet: Set<string>) {
this.variableSubject.next(dateSet);
if (dateSet.size > 0) {
this.variableSubject.next(dateSet);
}
}

getLatestMeasurement$(datapoint: KPIDetails): Observable<MeasurementValue> {
Expand Down

0 comments on commit 226aaab

Please sign in to comment.