aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentContentsView.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-06-28 16:49:03 -0400
committeryipstanley <stanley_yip@brown.edu>2019-06-28 16:49:03 -0400
commit6c0a63e0c82a4b579e64f3c7a8095ee632e6b631 (patch)
tree79f9a86eecd8a430e51ae8ac65571836a69ac5cb /src/client/views/nodes/DocumentContentsView.tsx
parentca95473dca3b577bf05aed3c76ccf800fc670220 (diff)
parentf745ee91930c2b559098c5c6d75d5108edca2f01 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/nodes/DocumentContentsView.tsx')
-rw-r--r--src/client/views/nodes/DocumentContentsView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentContentsView.tsx b/src/client/views/nodes/DocumentContentsView.tsx
index 0da4888a1..240b21714 100644
--- a/src/client/views/nodes/DocumentContentsView.tsx
+++ b/src/client/views/nodes/DocumentContentsView.tsx
@@ -52,7 +52,8 @@ export class DocumentContentsView extends React.Component<DocumentViewProps & {
const layout = Cast(layoutDoc[this.props.layoutKey], "string");
if (layout === undefined) {
return this.props.Document.data ?
- "<FieldView {...props} fieldKey='data' />" :
+ "null" :
+ // "<FieldView {...props} fieldKey='data' />" :
KeyValueBox.LayoutString(layoutDoc.proto ? "proto" : "");
} else if (typeof layout === "string") {
return layout;