fix: bound detection QA to inference coverage
This commit is contained in:
@@ -533,18 +533,18 @@ function App(): JSX.Element {
|
||||
const activeWorkspaceItem = workspaceNavItems.find((item) => item.key === activeWorkspace) ?? workspaceNavItems[0]
|
||||
const mapLayerSourceLabel = useMemo(() => {
|
||||
if (analysisMapLayerActive && changeDetectionResult?.geojson) {
|
||||
return 'Change detection'
|
||||
return 'Veranderingsanalyse'
|
||||
}
|
||||
if (analysisMapLayerActive && segmentationGeoJson) {
|
||||
return 'Segmentation run'
|
||||
return 'Segmentatierun'
|
||||
}
|
||||
if (analysisMapLayerActive && detectionGeoJson) {
|
||||
return 'Detection run'
|
||||
return 'Detectierun'
|
||||
}
|
||||
if ((datasetMapContent || viewportVectorLayer.enabled) && selectedDataset) {
|
||||
return `${selectedDataset.dataset_type} dataset`
|
||||
return `${selectedDataset.dataset_type}-dataset`
|
||||
}
|
||||
return 'No active vector or result layer'
|
||||
return 'Geen actieve gegevens- of analyselaag'
|
||||
}, [analysisMapLayerActive, changeDetectionResult?.geojson, datasetMapContent, detectionGeoJson, segmentationGeoJson, selectedDataset, viewportVectorLayer.enabled])
|
||||
const mapLayerProvenance = useMemo(() => {
|
||||
if (analysisMapLayerActive && changeDetectionResult?.geojson) {
|
||||
|
||||
Reference in New Issue
Block a user