Skip to content

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

fix: check for undefined value sql result

Ruggero Tomaselli5bb27d59cfe1
diff --git a/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js b/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js
index d4cde836715..f5cd6f030ea 100644
--- a/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js
+++ b/studio/components/to-be-cleaned/SqlEditor/TabSqlQuery.js
@@ -383,7 +383,7 @@ const Results = ({ results }) => {
<div className="group sb-grid-select-cell__formatter overflow-hidden">
<span className="font-mono text-xs truncate">{JSON.stringify(row[column])}</span>
- {row[column] && (
+ {row[column] != undefined && (
<Button
type="outline"
icon={isCopied ? <IconCheck size="tiny" /> : <IconClipboard size="tiny" />}