From 9ad4166f5947776f701a2f9b5f1f6231dd81392d Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Wed, 8 May 2024 16:57:09 -0400 Subject: [PATCH] revert normal form --- .../main/home/database-dashboard/forms/DatastoreForm.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dashboard/src/main/home/database-dashboard/forms/DatastoreForm.tsx b/dashboard/src/main/home/database-dashboard/forms/DatastoreForm.tsx index 658e583419..9c7df6ca99 100644 --- a/dashboard/src/main/home/database-dashboard/forms/DatastoreForm.tsx +++ b/dashboard/src/main/home/database-dashboard/forms/DatastoreForm.tsx @@ -24,7 +24,6 @@ import { } from "lib/databases/types"; import { useClusterList } from "lib/hooks/useCluster"; -import { valueExists } from "shared/util"; import database from "assets/database.svg"; import { @@ -73,8 +72,7 @@ const DatastoreForm: React.FC = () => { const availableEngines: BlockSelectOption[] = useMemo(() => { return [DATASTORE_ENGINE_POSTGRES, DATASTORE_ENGINE_REDIS]; - }, [watchClusterId]); - + }, [awsClusters, watchClusterId]); const availableWorkloadTypes: BlockSelectOption[] = useMemo(() => { return [ { @@ -317,7 +315,6 @@ const DatastoreForm: React.FC = () => { )} , - <> Specify resources {template && ( @@ -398,7 +395,7 @@ const DatastoreForm: React.FC = () => { Create , - ].filter(valueExists)} + ]} currentStep={currentStep} />