Skip to content

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

Add success state for SSL

Joshen Lime3c10ec2346d
diff --git a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
index 73d030cff5f..cca4dffc2d0 100644
--- a/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
+++ b/studio/components/interfaces/Settings/Database/SSLConfiguration.tsx
@@ -33,6 +33,12 @@ const SSLConfiguration = () => {
})
const { mutate: updateSSLEnforcement, isLoading: isSubmitting } = useSSLEnforcementUpdateMutation(
{
+ onSuccess: () => {
+ ui.setNotification({
+ category: 'success',
+ message: 'Successfully updated SSL configuration',
+ })
+ },
onError: (error) => {
setIsEnforced(isEnforced)
ui.setNotification({