From caae2dd1e7e51d493402ba594c29063e6bcb051c Mon Sep 17 00:00:00 2001 From: Josue Date: Mon, 26 Apr 2021 11:27:12 -0400 Subject: [PATCH] fix: change data value range to match design --- striker-ui/components/Anvils/AnvilList.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/striker-ui/components/Anvils/AnvilList.tsx b/striker-ui/components/Anvils/AnvilList.tsx index 5649beb6..d1d7eabc 100644 --- a/striker-ui/components/Anvils/AnvilList.tsx +++ b/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';