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 (extern) 2020-03-25 14:56:17 +01:00
parent 4bbc22cbde
commit 340d07a03f

View File

@ -73,8 +73,8 @@ export class SelectedItemTemporalComponent extends AbstractSelectedItemComponent
return layers.find(l => l.index == layerIndex);
}
handleGoToChart(item: IItem) {
this.router.navigate(['/viewer', 'temporal', 'item', item.code, item.dataDate.getUTCFullYear()]);
handleGoToChart(item: IItem) {
this.router.navigate(['/viewer', 'temporal', 'item', item.parentcode, item.dataDate.getUTCFullYear()]);
return false;
}
}