Skip to content

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

option value check

Terry Sutton36e8d3fababb
diff --git a/studio/components/interfaces/Support/SupportForm.tsx b/studio/components/interfaces/Support/SupportForm.tsx
index ea57f4ef6e0..8fb363420eb 100644
--- a/studio/components/interfaces/Support/SupportForm.tsx
+++ b/studio/components/interfaces/Support/SupportForm.tsx
@@ -92,7 +92,7 @@ const SupportForm = ({ setSentCategory }: SupportFormProps) => {
const projects = [...(allProjects ?? []), ...projectDefaults]
const selectedProjectFromUrl = projects.find((project) => project.ref === ref)
const selectedCategoryFromUrl = CATEGORY_OPTIONS.find((option) => {
- if (option.value.toLowerCase() === ((category as string) ?? '').toLowerCase()) return option
+ if (option.value?.toLowerCase() === ((category as string) ?? '').toLowerCase()) return option
})
const [selectedProjectRef, setSelectedProjectRef] = useState(