Jelajahi Sumber

fix: set correct cpu and instance size text

Jose Diaz-Gonzalez 2 tahun lalu
induk
melakukan
3e47e02e7e

+ 2 - 2
dashboard/src/main/home/database-dashboard/forms/ElasticacheRedisForm.tsx

@@ -212,7 +212,7 @@ const ElasticacheRedisForm: React.FC<Props> = ({
                 </ResourceOption>
                 </ResourceOption>
                 <Spacer height="15px" />
                 <Spacer height="15px" />
                 <ResourceOption
                 <ResourceOption
-                  selected={tier === "cache.r7gx.large"}
+                  selected={tier === "cache.r7g.xlarge"}
                   onClick={() => {
                   onClick={() => {
                     setTier("cache.r7g.xlarge");
                     setTier("cache.r7g.xlarge");
                   }}
                   }}
@@ -220,7 +220,7 @@ const ElasticacheRedisForm: React.FC<Props> = ({
                   <Container row>
                   <Container row>
                     <Text>Extra Large</Text>
                     <Text>Extra Large</Text>
                     <Spacer inline width="5px" />
                     <Spacer inline width="5px" />
-                    <Text color="helper">- 2 cpu</Text>
+                    <Text color="helper">- 4 cpu</Text>
                   </Container>
                   </Container>
                   <StorageTag>26 GB RAM</StorageTag>
                   <StorageTag>26 GB RAM</StorageTag>
                 </ResourceOption>
                 </ResourceOption>