Skip to content

Commit

Permalink
Treat Bytes types as Objects in BrowserCell (fixes #552) (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhaven authored and flovilmart committed Jan 12, 2017
1 parent b1e3d61 commit 4cb47b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BrowserCell/BrowserCell.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let BrowserCell = ({ type, value, hidden, width, current, onSelect, readonly, on
content = value ? 'True' : 'False';
} else if (type === 'Array') {
content = JSON.stringify(value.map(val => val instanceof Parse.Object ? val.toPointer() : val))
} else if (type === 'Object') {
} else if (type === 'Object' || type === 'Bytes') {
content = JSON.stringify(value);
} else if (type === 'File') {
if (value.url()) {
Expand Down

0 comments on commit 4cb47b7

Please sign in to comment.