aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/OverlayView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-09-12 05:21:29 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-09-12 05:21:29 -0400
commitcbb016dd4bec4ce1367314717adf85640ae51c93 (patch)
tree5ec6a588780eb5c5cc9c75619bd5656ee35d1a25 /src/client/views/OverlayView.tsx
parent6cff2800f0aa2069787ff43831d18898c851bf3b (diff)
sharing workflow supported
Diffstat (limited to 'src/client/views/OverlayView.tsx')
-rw-r--r--src/client/views/OverlayView.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/OverlayView.tsx b/src/client/views/OverlayView.tsx
index da4b71e5c..7a1fac4c8 100644
--- a/src/client/views/OverlayView.tsx
+++ b/src/client/views/OverlayView.tsx
@@ -141,6 +141,9 @@ export class OverlayView extends React.Component {
}
@computed get overlayDocs() {
+ if (!CurrentUserUtils.UserDocument) {
+ return (null);
+ }
return CurrentUserUtils.UserDocument.overlays instanceof Doc && DocListCast(CurrentUserUtils.UserDocument.overlays.data).map(d => {
let offsetx = 0, offsety = 0;
let onPointerMove = action((e: PointerEvent) => {