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, state: string,
): keyof ClassNameMap<'optimal' | 'notReady' | 'degraded'> => { ): keyof ClassNameMap<'optimal' | 'notReady' | 'degraded'> => {
switch (state) { switch (state) {
case 'Optimal': case 'optimal':
return 'optimal'; return 'optimal';
case 'Not Ready': case 'not_ready':
return 'notReady'; return 'notReady';
case 'Degraded': case 'degraded':
return 'degraded'; return 'degraded';
default: default:
return 'optimal'; return 'optimal';

Loading…
Cancel
Save