Skip to content

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

Remove check for sourceId for rendering add destination button (#41785)

Joshen Limbd96fd70af5e
diff --git a/apps/studio/components/interfaces/Database/Replication/Destinations.tsx b/apps/studio/components/interfaces/Database/Replication/Destinations.tsx
index a33e080dfbe..e92d0588d60 100644
--- a/apps/studio/components/interfaces/Database/Replication/Destinations.tsx
+++ b/apps/studio/components/interfaces/Database/Replication/Destinations.tsx
@@ -42,7 +42,6 @@ export const Destinations = () => {
const queryClient = useQueryClient()
const { ref: projectRef } = useParams()
const { data: organization } = useSelectedOrganizationQuery()
- const isPaidPlan = organization?.plan.id !== 'free'
const unifiedReplication = useFlag('unifiedReplication')
@@ -191,7 +190,7 @@ export const Destinations = () => {
/>
</div>
<div className="flex items-center gap-x-2">
- {!!sourceId && (
+ {(unifiedReplication || !!sourceId) && (
<Button
type="default"
icon={<Plus />}