Skip to content

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

Add guard in CellDetailPanel (#28550)

Joshen Lim84e62cb63c5c
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
index d501c08ce50..a3ca4265185 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
@@ -161,7 +161,7 @@ const Results = ({ id, rows }: { id: string; rows: readonly any[] }) => {
<CellDetailPanel
column={cellPosition?.column.name ?? ''}
- value={cellPosition?.row[cellPosition.column.name]}
+ value={cellPosition?.row?.[cellPosition.column.name]}
visible={expandCell}
onClose={() => setExpandCell(false)}
/>