A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
Determine if default values need to be changed by db_type
Wuzic7b6229a0eac
diff --git a/ui/src/pages/Install/index.tsx b/ui/src/pages/Install/index.tsxindex f9dedeca..22db544f 100644--- a/ui/src/pages/Install/index.tsx+++ b/ui/src/pages/Install/index.tsx@@ -132,7 +132,7 @@ const Index: FC = () => {});const updateFormData = (params: FormDataType) => {- if (step === 2) {+ if (Object.keys(params)?.[0] === 'db_type') {let updatedFormData = formData;if (params.db_type.value === 'mysql') {updatedFormData = {