diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-10-16 15:40:20 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-10-16 15:40:20 -0400 |
| commit | fd6d900a03c5db3492a39b918660cc44297c96fd (patch) | |
| tree | 4ad4d7c579e17f681ec15923befd160c533d48fc /src/client/views/nodes/LinkAnchorBox.tsx | |
| parent | 8acaa16a276600d8c5a201f49099e551aeb55416 (diff) | |
| parent | f6337ba3244f2d7270dccb6b319c047e608c6a72 (diff) | |
Merge branch 'master' into dataViz-annotations
Diffstat (limited to 'src/client/views/nodes/LinkAnchorBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LinkAnchorBox.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkAnchorBox.tsx b/src/client/views/nodes/LinkAnchorBox.tsx index 9bcd04cf5..fd7d13655 100644 --- a/src/client/views/nodes/LinkAnchorBox.tsx +++ b/src/client/views/nodes/LinkAnchorBox.tsx @@ -28,6 +28,10 @@ export class LinkAnchorBox extends ViewBoxBaseComponent<FieldViewProps>() { @observable _x = 0; @observable _y = 0; + componentDidMount() { + this.props.setContentView?.(this); + } + @computed get linkSource() { return this.props.docViewPath()[this.props.docViewPath().length - 2].rootDoc; // this.props.styleProvider?.(this.dataDoc, this.props, StyleProp.LinkSource); } |
