aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-03-17 23:11:02 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-03-17 23:11:02 -0400
commitdeb800519c2bf060d1d39056120305de2d30a4bb (patch)
tree8d9cc83a807b99637302d75c87e9224094146fc4 /src/client/views/nodes/ImageBox.tsx
parent196c991ac857c8df4ddc5458c58c2f69169d5768 (diff)
parent405a47781d73a64b8e452ed5cae6e8fbd0e3cf0e (diff)
Merge branch 'master' into schema_columns
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index 2db0cc4e2..3442e21aa 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -104,6 +104,7 @@ export class ImageBox extends React.Component<FieldViewProps> {
render() {
let field = this.props.doc.Get(this.props.fieldKey);
+ console.log(field)
let path = field == FieldWaiting ? "https://image.flaticon.com/icons/svg/66/66163.svg" :
field instanceof ImageField ? field.Data.href : "http://www.cs.brown.edu/~bcz/face.gif";
let nativeWidth = this.props.doc.GetNumber(KeyStore.NativeWidth, 1);