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