From 340d07a03ff4a2f81bfffa84df33cf13ed3fe99c Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Wed, 25 Mar 2020 14:56:17 +0100 Subject: [PATCH] AW-1104 Fixed link to temporal viewer (graph broken). --- .../selected-item-temporal.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.ts b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.ts index 02a7c32..16dcc4e 100644 --- a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.ts +++ b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.ts @@ -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; } }