Skip to content

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

Update studio/components/layouts/SQLEditorLayout/QueryItem.tsx

Joshen Limcc244a9a1533
diff --git a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
index 7912a4f6b09..d7cb1ad653e 100644
--- a/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
+++ b/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
@@ -45,7 +45,7 @@ const QueryItem = ({ tabInfo }: QueryItemProps) => {
<Link href={`/project/${ref}/sql/${id}`}>
<a className="py-1 px-3 w-full">
<p
- title={description}
+ title={description || name}
className="text-sm text-scale-1100 group-hover:text-scale-1200 transition"
>
{name}