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

feature/MinimizeSolution
Peter Bastiani 2020-03-25 14:56:17 +01:00
parent 4bbc22cbde
commit 340d07a03f
1 changed files with 2 additions and 2 deletions

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;
}
}