mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
## Summary - Removes the UI guard in `RestoreToNewProject.tsx` that blocked projects cloned from another cloned project from being restored to a new project - The API now supports a ConfigCat feature flag (`INDATA-559`) to allow specific customers to clone clones, so the client-side restriction is no longer needed - Removes the unused `IS_CLONED_PROJECT` constant alongside the block ## Test plan - [ ] Verify a cloned project can now reach the restore-to-new-project UI without hitting the "cannot be restored" admonition - [ ] Verify non-cloned projects are unaffected - [ ] Verify the feature flag at the API level correctly gates access for customers without the flag enabled <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Removed unnecessary warning message that displayed during database restoration when restoring a cloned or previously restored project to a new project. <!-- end of auto-generated comment: release notes by coderabbit.ai -->