chore(studio): switch opt in for logs (#45123)

## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Make it opt in not default.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Fixed the unified logs preview feature to properly respect both the
feature flag and user preference settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
kemal.earth authored and GitHub committed 2026-04-22 18:58:55 +01:00
1 parent e38ba624bc
commit 30403e8d70
1 file changed
+1 -1
@@ -94,7 +94,7 @@ export const useUnifiedLogsPreview = () => {
const isLoading = !flagsHaveLoaded || isOrgLoading
const isEligible = unifiedLogsEnabled && isEnterpriseOrSupabaseOrg
const isEnabled = isEligible && flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS]
const isEnabled = unifiedLogsEnabled && flags[LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS]
const enable = () => onUpdateFlag(LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS, true)
const disable = () => onUpdateFlag(LOCAL_STORAGE_KEYS.UI_PREVIEW_UNIFIED_LOGS, false)