diff --git a/src/components/SidePanels/DetailsPanel/RegionDetails.tsx b/src/components/SidePanels/DetailsPanel/RegionDetails.tsx index 1cfb63db4f..7d5a98ec55 100644 --- a/src/components/SidePanels/DetailsPanel/RegionDetails.tsx +++ b/src/components/SidePanels/DetailsPanel/RegionDetails.tsx @@ -34,6 +34,15 @@ const RatingResult: FC<{mainValue: string[]}> = observer(({ mainValue }) => { ); }); + +const TaxonomyResult: FC<{mainValue: string[]}> = observer(({ mainValue }) => { + return ( + + {mainValue.join(', ')} + + ); +}); + const ResultItem: FC<{result: any}> = observer(({ result }) => { const { type, mainValue } = result; /** @@ -71,6 +80,17 @@ const ResultItem: FC<{result: any}> = observer(({ result }) => { ); + } else if (type === 'taxonomy') { + return ( + + Taxonomy: + + + + + ); + } else { + console.log("Tag type not supported:", type) } }, [type, mainValue]);