diff options
author | bob <bcz@cs.brown.edu> | 2019-09-13 11:15:01 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-09-13 11:15:01 -0400 |
commit | 106d7ca39e36fc114f79fd5fef27998a68fd3d5b (patch) | |
tree | e7522ce7a2df2980390661ed4a834506f8730be8 /src/client/views/nodes/ImageBox.tsx | |
parent | 32861c7cfcac8c03be5692fb98b5a7dc7786be83 (diff) |
fixed video w/ templates. changed headings with text boxes, tweaked MakeTemplate titling
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 19788c21a..95f304641 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -262,13 +262,8 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD onDotDown(index: number) { this.Document.curPage = index; } - - @computed get fieldExtensionDoc() { - return Doc.resolvedFieldDataDoc(this.props.DataDoc ? this.props.DataDoc : this.props.Document, this.props.fieldKey, "true"); - } - @computed private get url() { - let data = Cast(Doc.GetProto(this.props.Document).data, ImageField); + let data = Cast(Doc.GetProto(this.props.Document)[this.props.fieldKey], ImageField); return data ? data.url.href : undefined; } |