File tree Expand file tree Collapse file tree
frontend/src/pages/visualize Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export default function ForecastPage() {
117117 // from `job.result.model_path` directly. Recorded in memory
118118 // `[[scenario-run-id-vs-registry-run-id]]`.
119119 const trainJobMetadata = useJobFeatureMetadata ( trainJobId , ! ! trainJobId )
120- const trainFamily = trainJobMetadata . data ?. model_family
120+ const loadedTrainFamily = trainJobMetadata . data ?. model_family
121121
122122 async function handleRunForecast ( ) {
123123 if ( ! trainRunId ) return
@@ -494,8 +494,8 @@ export default function ForecastPage() {
494494 < CollapsibleTrigger className = "flex w-full items-center justify-between gap-2" >
495495 < CardTitle className = "flex items-center gap-2 text-base" >
496496 Model details
497- { trainFamily ? (
498- < ModelFamilyBadge family = { trainFamily } />
497+ { loadedTrainFamily ? (
498+ < ModelFamilyBadge family = { loadedTrainFamily } />
499499 ) : null }
500500 </ CardTitle >
501501 < span className = "text-xs text-muted-foreground" >
You can’t perform that action at this time.
0 commit comments