diff --git a/src/components/BrowserCell/BrowserCell.react.js b/src/components/BrowserCell/BrowserCell.react.js index b794f13f61..a9c364e44d 100644 --- a/src/components/BrowserCell/BrowserCell.react.js +++ b/src/components/BrowserCell/BrowserCell.react.js @@ -68,7 +68,8 @@ export default class BrowserCell extends Component { this.props.appId, this.props.value.className ); - let dataValue = this.props.value.id; + let value = this.props.value; + let dataValue = this.props.value.id || this.props.value.objectId; if (defaultPointerKey !== 'objectId') { dataValue = this.props.value.get(defaultPointerKey); if (dataValue && typeof dataValue === 'object') { @@ -94,13 +95,13 @@ export default class BrowserCell extends Component { if (this.props.value && this.props.value.__type) { const object = new Parse.Object(this.props.value.className); object.id = this.props.value.objectId; - this.props.value = object; + value = object; } content = this.props.onPointerClick ? (