The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Remove clone-of-clone restriction in RestoreToNewProject (#45173)
Crispy7163b9e1fdbf
diff --git a/apps/studio/components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx b/apps/studio/components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsxindex c8fec02d083..edd84436fc6 100644--- a/apps/studio/components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx+++ b/apps/studio/components/interfaces/Database/RestoreToNewProject/RestoreToNewProject.tsx@@ -92,7 +92,6 @@ export const RestoreToNewProject = () => {enabled: PHYSICAL_BACKUPS_ENABLED || PITR_ENABLED,})- const IS_CLONED_PROJECT = cloneStatus?.cloned_from?.source_project?.ref ? true : falseconst isLoading = !isPermissionsLoaded || cloneBackupsLoading || cloneStatusLoadinguseEffect(() => {@@ -186,22 +185,6 @@ export const RestoreToNewProject = () => {return <GenericSkeletonLoader />}- if (IS_CLONED_PROJECT) {- return (- <Admonition type="default" title="This project cannot be restored to a new project">- <Markdown- className="max-w-full [&>p]:!leading-normal"- content={`This is a temporary limitation whereby projects that were originally restored from another project cannot be restored to yet another project.`}- />- <Button asChild type="default">- <Link href={`/project/${cloneStatus?.cloned_from?.source_project?.ref || ''}`}>- Go to original project- </Link>- </Button>- </Admonition>- )- }-if (isError) {return <AlertError error={error} subject="Failed to retrieve backups" />}