File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clients/ui/frontend/src/app/pages/modelCatalog/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ const ModelCatalogCardBody: React.FC<ModelCatalogCardBodyProps> = ({
7373 } ,
7474 filterData ,
7575 filterOptions ,
76- isValidated && performanceViewEnabled , // Only fetch if validated AND toggle is ON
76+ isValidated , // Only fetch if validated
7777 ) ;
7878
7979 const performanceMetrics = filterArtifactsByType < CatalogPerformanceMetricsArtifact > (
@@ -88,13 +88,13 @@ const ModelCatalogCardBody: React.FC<ModelCatalogCardBodyProps> = ({
8888 MetricsType . accuracyMetrics ,
8989 ) ;
9090
91- const isLoading = isValidated && performanceViewEnabled && ! performanceArtifactsLoaded ;
91+ const isLoading = isValidated && ! performanceArtifactsLoaded ;
9292
9393 if ( isLoading ) {
9494 return < Spinner /> ;
9595 }
9696
97- if ( performanceArtifactsError && isValidated && performanceViewEnabled ) {
97+ if ( performanceArtifactsError && isValidated ) {
9898 return (
9999 < Alert variant = "danger" isInline title = { performanceArtifactsError . name } >
100100 { performanceArtifactsError . message }
You can’t perform that action at this time.
0 commit comments