The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Show email that support will reply to after submitting (#19095)
Joshen Lim2187f722c2d0
diff --git a/apps/studio/components/interfaces/Support/Success.tsx b/apps/studio/components/interfaces/Support/Success.tsxindex ec23215ffd4..a654305183e 100644--- a/apps/studio/components/interfaces/Support/Success.tsx+++ b/apps/studio/components/interfaces/Support/Success.tsx@@ -4,12 +4,16 @@ import { Button, IconCheck, IconExternalLink, IconMail, IconSearch, Input } fromimport Divider from 'components/ui/Divider'import { CATEGORY_OPTIONS } from './Support.constants'+import { useProfile } from 'lib/profile'interface SuccessProps {sentCategory?: string}const Success = ({ sentCategory = '' }: SuccessProps) => {+ const { profile } = useProfile()+ const respondToEmail = profile?.primary_email ?? 'your email'+const categoriesToShowAdditionalResources = ['Problem', 'Unresponsive', 'Performance']const selectedCategory = CATEGORY_OPTIONS.find((option) => option.value === sentCategory)@@ -26,7 +30,7 @@ const Success = ({ sentCategory = '' }: SuccessProps) => {<div className="flex items-center flex-col space-y-2"><h3 className="text-xl">Support request successfully sent!</h3><p className="text-sm text-foreground-light">- We will reach out to you using your account's email address+ We will reach out to you at <span className="text-foreground">{respondToEmail}</span></p></div>{categoriesToShowAdditionalResources.includes(sentCategory) && (