diff --git a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html index b20e93c..bb642c5 100644 --- a/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html +++ b/projects/common-map/src/fm-map/components/selected-item-temporal/selected-item-temporal.component.html @@ -35,6 +35,7 @@ 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 3982fcc..dfbe1cf 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 @@ -19,7 +19,7 @@ import * as mapActions from '../../actions/map.actions'; }) export class SelectedItemTemporalComponent extends AbstractSelectedItemComponent { - constructor(store: Store, itemTypeService: ItemTypeService, location: Location, router: Router, private itemService$: ItemService,private folderService$: FolderService) { + constructor(store: Store, itemTypeService: ItemTypeService, location: Location, private router: Router, private itemService$: ItemService,private folderService$: FolderService) { super(store, itemTypeService,location,router); } @@ -72,4 +72,9 @@ export class SelectedItemTemporalComponent extends AbstractSelectedItemComponent layer(layers:any,layerIndex:number) { return layers.find(l => l.index == layerIndex); } + + handleGoToChart() { + this.router.navigate(['viewer/temporal/item', this.item.code]); + return false; + } }