fix: check for undefined value sql result

This commit is contained in:
Ruggero Tomaselli committed 2023-02-07 23:08:05 +01:00
1 parent e3ecfb52ce
commit 5bb27d59cf
1 file changed
+1 -1
@@ -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" />}