diff options
author | monikahedman <monika_hedman@brown.edu> | 2019-10-31 11:57:08 -0400 |
---|---|---|
committer | monikahedman <monika_hedman@brown.edu> | 2019-10-31 11:57:08 -0400 |
commit | 3d5e2bf61e04fa700eccac10d19ea6dde436f6bd (patch) | |
tree | 0d6b2c9c82c24c0b5d0dc30810a6b140b0732b6d /src/client/views/nodes/ImageBox.tsx | |
parent | 96dbd7d4fd1759ad1a5135ca94d46970ca31168f (diff) |
fixed depth problem
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 7816c0fe8..1bf2724c3 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -248,6 +248,7 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum onDotDown(index: number) { this.Document.curPage = index; } + @computed private get url() { let data = Cast(Doc.GetProto(this.props.Document)[this.props.fieldKey], ImageField); return data ? data.url.href : undefined; |