Update summary content with habitat and zone data

This commit is contained in:
Dana Lambert 2021-11-05 14:31:53 +13:00
parent 01a3328ec2
commit 11042b029a

View file

@ -45,8 +45,10 @@ export default function SummaryContent(props) {
];
const siteData = [
createData('Habitat', ''),
createData('Zone', '')
createData('Habitat', props.filters.habitat.name ?? ""),
createData('Zone Name', (props.filters.zone && props.filters.zone.name) ?? ""),
createData('Zone Variant', (props.filters.zone && props.filters.zone.variant) ?? ""),
createData('Zone Refined Variant', (props.filters.zone && props.filters.zone.refined_variant) ?? "")
];
const projectSpecificsData = [