aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/Annotation.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-28 13:34:06 -0400
committerbobzel <zzzman@gmail.com>2020-09-28 13:34:06 -0400
commit9ff10d73a1690c59d596cd5eb8138595af052a30 (patch)
treed1c58bddabdc65af01e4d345b40cd6f9d79a142d /src/client/views/pdf/Annotation.tsx
parent9d9e7593a0ece66d3538ea5986de3388a0759ad7 (diff)
removed sidebar menu item. fixed contents of annotations to display annotation's info, not pdf's.
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
-rw-r--r--src/client/views/pdf/Annotation.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx
index 33c7bd4f3..a1b6c0547 100644
--- a/src/client/views/pdf/Annotation.tsx
+++ b/src/client/views/pdf/Annotation.tsx
@@ -141,7 +141,7 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> {
backgroundColor: this._brushed ? "orange" : StrCast(this.props.document.backgroundColor),
}} >
{!this._showInfo ? (null) : <div className="pdfAnnotation-info">
- {this.props.dataDoc.author + " " + Field.toString(this.props.dataDoc.creationDate as Field)}
+ {this.props.anno.author + " " + Field.toString(this.props.anno.creationDate as Field)}
</div>}
</div>);
}