diff options
| author | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-23 13:33:29 -0700 | 
|---|---|---|
| committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-23 13:33:29 -0700 | 
| commit | 38b264599af2dca710b6c54d76cf30aade5e2f49 (patch) | |
| tree | 4ec3b7fb03fcc4c81160dedea651f41cdb84c331 /src/client/views/nodes/DocHolderBox.tsx | |
| parent | 86a8751ca5a66fd42d7b2b3dee56210f2ef2b62d (diff) | |
| parent | 3bcc0e3a8ce4ab67dff4b3d62191c346764aa351 (diff) | |
merge with master
Diffstat (limited to 'src/client/views/nodes/DocHolderBox.tsx')
| -rw-r--r-- | src/client/views/nodes/DocHolderBox.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/client/views/nodes/DocHolderBox.tsx b/src/client/views/nodes/DocHolderBox.tsx index 0cf5505cc..0c4242172 100644 --- a/src/client/views/nodes/DocHolderBox.tsx +++ b/src/client/views/nodes/DocHolderBox.tsx @@ -180,7 +180,7 @@ export class DocHolderBox extends ViewBoxAnnotatableComponent<FieldViewProps, Do      render() {          const containedDoc = Cast(this.dataDoc[this.fieldKey], Doc, null);          TraceMobx(); -        return <div className="documentBox-container" ref={this._contRef} +        return !containedDoc ? (null) : <div className="documentBox-container" ref={this._contRef}              onContextMenu={this.specificContextMenu}              onPointerDown={this.onPointerDown} onClick={this.onClick}              style={{ | 
