diff --git a/frontend/src/components/steps/summary/SummaryContent.js b/frontend/src/components/steps/summary/SummaryContent.js index acf1270..19ad3c5 100644 --- a/frontend/src/components/steps/summary/SummaryContent.js +++ b/frontend/src/components/steps/summary/SummaryContent.js @@ -21,7 +21,7 @@ export default function SummaryContent(props) { const handleChange = (panel) => (event, isExpanded) => { setExpanded(isExpanded ? panel : false); - }; + }; React.useEffect(() => { props.setNextDisabled(false); @@ -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 = [ @@ -66,7 +68,7 @@ export default function SummaryContent(props) { - + } > @@ -76,7 +78,7 @@ export default function SummaryContent(props) { - + } >