Add goto chart
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	FarmMaps.Develop/FarmMapsLib/develop There was a failure building this commit
				
			This commit is contained in:
		| @@ -35,6 +35,7 @@ | ||||
|         <ul class="p-0 mt-2"> | ||||
|           <li *ngIf="item.isEditable"><a href="#" class="mt-1 mr-1" (click)="handleOnEdit(item)" i18n><i class="fa fa-pencil" aria-hidden="true" title="Edit"></i> Edit</a></li> | ||||
|           <li *ngIf="itemTypeService.isLayer(item)"><a href="#" (click)="handleAddAsLayer(item,itemLayer.layerIndex)" class="mt-1 mr-1" i18n><i class="fa fa-eye" aria-hidden="true" title="Add as layer"></i> Add as overlay</a></li> | ||||
|           <!-- <li><a href="#" (click)="handleGoToChart()" i18n><i class="fa fa-line-chart" aria-hidden="true" title="Edit"></i> Show graph</a></li> --> | ||||
|         </ul> | ||||
|       </div> | ||||
|     </div> | ||||
|   | ||||
| @@ -19,7 +19,7 @@ import * as mapActions from '../../actions/map.actions'; | ||||
| }) | ||||
| export class SelectedItemTemporalComponent extends AbstractSelectedItemComponent { | ||||
|  | ||||
|   constructor(store: Store<mapReducers.State | commonReducers.State>, itemTypeService: ItemTypeService, location: Location, router: Router, private itemService$: ItemService,private folderService$: FolderService) { | ||||
|   constructor(store: Store<mapReducers.State | commonReducers.State>, 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; | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user