aboutsummaryrefslogtreecommitdiff
path: root/src/debug/Viewer.tsx
diff options
context:
space:
mode:
authortschicke-brown <tyler_schicke@brown.edu>2019-03-18 05:25:20 -0400
committerGitHub <noreply@github.com>2019-03-18 05:25:20 -0400
commit6df4833c13921dd6d69d05fa979398356d438c71 (patch)
treefb039632f5aca76fe3dbaa2590595d2914307751 /src/debug/Viewer.tsx
parentf37a9c9c68f25fc9a163e6930d9964a0646574fc (diff)
parentbf115e59b983efb5c38b419c3b355fed22e89a97 (diff)
Merge pull request #63 from browngraphicslab/server_dev
Phone image upload
Diffstat (limited to 'src/debug/Viewer.tsx')
-rw-r--r--src/debug/Viewer.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug/Viewer.tsx b/src/debug/Viewer.tsx
index 780e9f8f2..7fdd77bf3 100644
--- a/src/debug/Viewer.tsx
+++ b/src/debug/Viewer.tsx
@@ -137,11 +137,13 @@ class DebugViewer extends React.Component<{ fieldId: string }> {
content = (<FieldViewer field={this.field} />)
} else if (this.field instanceof Key) {
content = (<KeyViewer field={this.field} />)
+ } else {
+ content = (<span>Unrecognized field type</span>)
}
} else if (this.error) {
content = <span>Field <b>{this.props.fieldId}</b> not found <button onClick={() => this.update()}>Refresh</button></span>
} else {
- content = <>Field loading</>
+ content = <span>Field loading: {this.props.fieldId}</span>
}
return content;
}