diff --git a/studio/components/to-be-cleaned/forms/SchemaFormPanel.js b/studio/components/to-be-cleaned/forms/SchemaFormPanel.js index 10808c96c28..d1736027eec 100644 --- a/studio/components/to-be-cleaned/forms/SchemaFormPanel.js +++ b/studio/components/to-be-cleaned/forms/SchemaFormPanel.js @@ -25,6 +25,7 @@ export default function SchemaFormPanel({ } const onClickSubmit = () => { + console.log('onClickSubmit', formRef) formRef .submit() .then(() => { @@ -78,6 +79,7 @@ export default function SchemaFormPanel({ model={model} children={children} onSubmit={async (args) => { + console.log('onSubmit', args) onSubmit(args) .then(() => { setSubmitButtonLoading(false) diff --git a/studio/pages/project/[ref]/auth/settings.tsx b/studio/pages/project/[ref]/auth/settings.tsx index 1810263dead..8a9c3a652e5 100644 --- a/studio/pages/project/[ref]/auth/settings.tsx +++ b/studio/pages/project/[ref]/auth/settings.tsx @@ -157,12 +157,12 @@ const Settings = () => { ])} model={{ MAILER_SECURE_EMAIL_CHANGE_ENABLED: model.MAILER_SECURE_EMAIL_CHANGE_ENABLED, - SMTP_ADMIN_EMAIL: isCustomSMTPEnabled ? model.SMTP_ADMIN_EMAIL : "", - SMTP_HOST: isCustomSMTPEnabled ? model.SMTP_HOST : "", - SMTP_PORT: isCustomSMTPEnabled ? model.SMTP_PORT : "", - SMTP_USER: isCustomSMTPEnabled ? model.SMTP_USER : "", - SMTP_PASS: isCustomSMTPEnabled ? model.SMTP_PASS : "", - SMTP_SENDER_NAME: isCustomSMTPEnabled ? model.SMTP_SENDER_NAME : "", + SMTP_ADMIN_EMAIL: isCustomSMTPEnabled ? model.SMTP_ADMIN_EMAIL : '', + SMTP_HOST: isCustomSMTPEnabled ? model.SMTP_HOST : '', + SMTP_PORT: isCustomSMTPEnabled ? model.SMTP_PORT : '', + SMTP_USER: isCustomSMTPEnabled ? model.SMTP_USER : '', + SMTP_PASS: isCustomSMTPEnabled ? model.SMTP_PASS : '', + SMTP_SENDER_NAME: isCustomSMTPEnabled ? model.SMTP_SENDER_NAME : '', RATE_LIMIT_EMAIL_SENT: isCustomSMTPEnabled ? model.RATE_LIMIT_EMAIL_SENT : 30, }} onSubmit={(model: any) => @@ -210,19 +210,19 @@ const Settings = () => {