Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fixed per Alastair suggestion.

Ivan Vasilovc5c4f8118e1b
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index d7b925dcffc..2b34c0d912f 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -278,10 +278,10 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
useEffect(() => {
if (isReady) {
const updatedValues = {
- projectRef: ref,
- subject: subject ?? '',
- category: selectedCategoryFromUrl?.value,
- message: message ?? '',
+ projectRef: ref ?? initialValues.projectRef,
+ subject: subject ?? initialValues.subject,
+ category: selectedCategoryFromUrl?.value ?? initialValues.category,
+ message: message ?? initialValues.message,
}
resetForm({ values: updatedValues, initialValues: updatedValues })
}