fix: change data value range to match design

main
Josue 4 years ago committed by Tsu-ba-me
parent 12810ef501
commit caae2dd1e7
  1. 6
      striker-ui/components/Anvils/AnvilList.tsx

@ -46,11 +46,11 @@ const selectDecorator = (
state: string,
): keyof ClassNameMap<'optimal' | 'notReady' | 'degraded'> => {
switch (state) {
case 'Optimal':
case 'optimal':
return 'optimal';
case 'Not Ready':
case 'not_ready':
return 'notReady';
case 'Degraded':
case 'degraded':
return 'degraded';
default:
return 'optimal';

Loading…
Cancel
Save