Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions chaoscenter/web/src/views/ChaosHub/ChaosFaults/ChaosFaults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ function ChaosFaults({ hubDetails, faultCategories, loading, searchValue }: Chao
const isChartNameAws = fault.chartName.toLowerCase().includes('aws');
const isK6Fault = fault.name.toLowerCase().includes('k6-loadgen');
const isGcpFault = fault.tag.toLowerCase() === 'gcp';
const isSpringbootFault = fault.chartName.toLowerCase() === 'spring-boot';

return (
<Link
to={{
Expand Down Expand Up @@ -124,6 +126,14 @@ function ChaosFaults({ hubDetails, faultCategories, loading, searchValue }: Chao
height={23}
style={{ objectFit: 'contain' }}
/>
) : isSpringbootFault ? (
<img
src="https://hub.litmuschaos.io/api/icon/3.22.0/spring-boot/spring-boot.png"
alt="spring-boot"
width={23}
height={23}
style={{ objectFit: 'contain' }}
/>
) : (
<Icon size={23} name="chaos-litmuschaos" />
)}
Expand Down
Loading