mirror of https://github.com/apache/superset.git
Merge a86d8508c1
into f5843fe588
This commit is contained in:
commit
95a68ff092
|
@ -98,7 +98,13 @@ export function prepareCopyToClipboardTabularData(data, columns) {
|
|||
row[j] = data[i][parseFloat(key)];
|
||||
}
|
||||
}
|
||||
result += `${Object.values(row).join('\t')}\n`;
|
||||
try {
|
||||
result += `${Object.values(row).join('\t')}\n`;
|
||||
} catch {
|
||||
result += `${Object.values(row)
|
||||
.map(value => JSON.stringify(value))
|
||||
.join('\t')}\n`;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue