Skip to content

Commit fe72ee4

Browse files
authored
fix: Replaced Litmus Logo with Spring Boot Logo in Chaos Fault Cards inside ChaosCenter (#5310)
Signed-off-by: Avirup Banik <[email protected]>
1 parent 5819b8b commit fe72ee4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

chaoscenter/web/src/views/ChaosHub/ChaosFaults/ChaosFaults.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ function ChaosFaults({ hubDetails, faultCategories, loading, searchValue }: Chao
9393
const isChartNameAws = fault.chartName.toLowerCase().includes('aws');
9494
const isK6Fault = fault.name.toLowerCase().includes('k6-loadgen');
9595
const isGcpFault = fault.tag.toLowerCase() === 'gcp';
96+
const isSpringbootFault = fault.chartName.toLowerCase() === 'spring-boot';
97+
9698
return (
9799
<Link
98100
to={{
@@ -133,6 +135,14 @@ function ChaosFaults({ hubDetails, faultCategories, loading, searchValue }: Chao
133135
height={23}
134136
style={{ objectFit: 'contain' }}
135137
/>
138+
) : isSpringbootFault ? (
139+
<img
140+
src="https://hub.litmuschaos.io/api/icon/3.22.0/spring-boot/spring-boot.png"
141+
alt="spring-boot"
142+
width={23}
143+
height={23}
144+
style={{ objectFit: 'contain' }}
145+
/>
136146
) : (
137147
<Icon size={23} name="chaos-litmuschaos" />
138148
)}

0 commit comments

Comments
 (0)