diff --git a/app-catalog/src/components/charts/List.tsx b/app-catalog/src/components/charts/List.tsx index 5afa66e..b7ee422 100644 --- a/app-catalog/src/components/charts/List.tsx +++ b/app-catalog/src/components/charts/List.tsx @@ -153,7 +153,7 @@ export function ChartsList({ fetchCharts = fetchChartsFromArtifact }) { handleEditor={(open: boolean) => setEditorOpen(open)} /> } actions={[, ]} /> - + {!charts ? ( - {`No charts found for ${ - search ? `search term: ${search}` : `category: ${chartCategory.title}` - }`} + {`No charts found for ${search ? `search term: ${search}` : `category: ${chartCategory.title}` + }`} ) : ( {charts.map(chart => { return ( - - + + + - - - {(chart.cncf || chart.repository.cncf) && ( - - - - )} - {(chart.official || chart.repository.official) && ( - - - - )} - {chart.repository.verified_publisher && ( - - - - )} - + {(chart.cncf || chart.repository.cncf) && ( + + + + )} + {(chart.official || chart.repository.official) && ( + + + + )} + {chart.repository.verified_publisher && ( + + + + )} - + + + + + + {chart.name} + + + + + + v{chart.version} - - - - {chart.name} - - + + {chart?.repository?.name || ''} - - v{chart.version} - - - {chart?.repository?.name || ''} + + + + + {chart?.description?.slice(0, 100)} + {chart?.description?.length > 100 && ( + + - - - - - - {chart?.description?.slice(0, 100)} - {chart?.description?.length > 100 && ( - - - - )} - - - - + + + + - - Learn More - - - - + Install + + + Learn More + + + ); })}