AW-1104 Fixed link to temporal viewer (graph broken).
Some checks failed
FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit

This commit is contained in:
Peter Bastiani 2020-03-25 14:56:17 +01:00
parent 4bbc22cbde
commit 340d07a03f

View File

@ -74,7 +74,7 @@ export class SelectedItemTemporalComponent extends AbstractSelectedItemComponent
} }
handleGoToChart(item: IItem) { handleGoToChart(item: IItem) {
this.router.navigate(['/viewer', 'temporal', 'item', item.code, item.dataDate.getUTCFullYear()]); this.router.navigate(['/viewer', 'temporal', 'item', item.parentcode, item.dataDate.getUTCFullYear()]);
return false; return false;
} }
} }