Skip to content

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

Add link to table editor from wrappers (#35242)

Joshen Lim7a3939d8f587
diff --git a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
index bfdd02cf96d..917a9cc87c6 100644
--- a/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
+++ b/apps/studio/components/interfaces/Integrations/Wrappers/WrapperRow.tsx
@@ -79,10 +79,12 @@ const WrapperRow = ({ wrapper }: WrapperRowProps) => {
/>
</Badge>
- <Badge className="pl-5 rounded-l-none gap-2 h-6 font-mono text-[0.75rem]">
- <Table2 size={12} strokeWidth={1.5} className="text-foreground-lighter/50" />
- {table.schema}.{table.table_name}
- </Badge>
+ <Link href={`/project/${ref}/editor/${table.id}`}>
+ <Badge className="transition hover:bg-surface-300 pl-5 rounded-l-none gap-2 h-6 font-mono text-[0.75rem]">
+ <Table2 size={12} strokeWidth={1.5} className="text-foreground-lighter/50" />
+ {table.schema}.{table.table_name}
+ </Badge>
+ </Link>
</div>
)
})}