mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-16 00:51:40 -07:00
Add hash to send feedback email (#1551)
- detected bug with zoom/lat/lng values and created ticket 1550 - get realtime has from mapRef - pass hash to AreaDetail as prop - update tests and snapshots
This commit is contained in:
parent
ce6f7974fb
commit
1ce124069d
5 changed files with 37 additions and 19 deletions
|
@ -6,13 +6,14 @@ interface IMapInfoPanelProps {
|
|||
className: string,
|
||||
featureProperties: { [key:string]: string | number } | undefined,
|
||||
selectedFeatureId: string | number | undefined
|
||||
hash: string[],
|
||||
}
|
||||
|
||||
const MapInfoPanel = ({className, featureProperties, selectedFeatureId}:IMapInfoPanelProps) => {
|
||||
const MapInfoPanel = ({className, featureProperties, selectedFeatureId, hash}:IMapInfoPanelProps) => {
|
||||
return (
|
||||
<div className={className} >
|
||||
{(featureProperties && selectedFeatureId ) ?
|
||||
<AreaDetail properties={featureProperties} /> :
|
||||
<AreaDetail properties={featureProperties} hash={hash}/> :
|
||||
<SidePanelInfo />
|
||||
}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue