Skip to content

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

fix: toggle state (#44846)

Vaibhava037a5693ea9
diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx
index f051418609b..6dc2d72f9c9 100644
--- a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx
+++ b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx
@@ -317,7 +317,7 @@ export const StorageSettings = () => {
disabled={
!hasAccessToImageTransformations || !canUpdateStorageSettings
}
- checked={field.value}
+ checked={hasAccessToImageTransformations && field.value}
onCheckedChange={field.onChange}
/>
</FormControl_Shadcn_>