diff options
| author | bobzel <zzzman@gmail.com> | 2020-10-16 00:45:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-10-16 00:45:17 -0400 |
| commit | 63f2f4927f0fd3e4d1d74b91599bc585fe820a29 (patch) | |
| tree | 27296d8aae9162014e65dc0956ed513ae107a5ad /src/client/views/pdf/Annotation.tsx | |
| parent | 78c0e14f639d1608b75ee6ebb22a8e84afc92098 (diff) | |
fixed some exceptions. added text field to annotations on PDFs
Diffstat (limited to 'src/client/views/pdf/Annotation.tsx')
| -rw-r--r-- | src/client/views/pdf/Annotation.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/pdf/Annotation.tsx b/src/client/views/pdf/Annotation.tsx index a071abd21..20ea7bfe4 100644 --- a/src/client/views/pdf/Annotation.tsx +++ b/src/client/views/pdf/Annotation.tsx @@ -100,7 +100,7 @@ class RegionAnnotation extends React.Component<IRegionAnnotationProps> { group.isPushpin = !group.isPushpin; }); - isPushpin = () => BoolCast(Cast(this.props.document.group, Doc, null).isPushpin); + isPushpin = () => BoolCast(Cast(this.props.document.group, Doc, null)?.isPushpin); @action onPointerDown = (e: React.PointerEvent) => { |
