We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b72dd3 commit 86563feCopy full SHA for 86563fe
packages/tdb-documents-ui/src/utils.js
@@ -676,6 +676,7 @@ export function getLinkedDocumentClassName (frame, item) {
676
*/
677
export function getRowHeight(data) {
678
if(Array.isArray(data)) return 1
679
+ if(typeof data !== "string") return 1
680
return data.split(/\r\n|\r|\n/).length
681
}
682
0 commit comments