Skip to content

Commit 4cb47b7

Browse files
jordanhavenflovilmart
authored andcommitted
Treat Bytes types as Objects in BrowserCell (fixes #552) (#623)
1 parent b1e3d61 commit 4cb47b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BrowserCell/BrowserCell.react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ let BrowserCell = ({ type, value, hidden, width, current, onSelect, readonly, on
4141
content = value ? 'True' : 'False';
4242
} else if (type === 'Array') {
4343
content = JSON.stringify(value.map(val => val instanceof Parse.Object ? val.toPointer() : val))
44-
} else if (type === 'Object') {
44+
} else if (type === 'Object' || type === 'Bytes') {
4545
content = JSON.stringify(value);
4646
} else if (type === 'File') {
4747
if (value.url()) {

0 commit comments

Comments
 (0)