aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PresBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2020-03-09 13:49:21 -0400
committerbob <bcz@cs.brown.edu>2020-03-09 13:49:21 -0400
commitcabb2cf9065d85112f1bd89e31b41dafdbc4ba54 (patch)
tree03ba4354fcaa0cdbd12db1e2a06bedb1421a0b7e /src/client/views/nodes/PresBox.tsx
parentd46ff869dcbb3d5cadeeb9ad6251ef5f9a5c3b2d (diff)
fixed showing links only to doculink boxes. changed field names for links to be more readable.
Diffstat (limited to 'src/client/views/nodes/PresBox.tsx')
-rw-r--r--src/client/views/nodes/PresBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PresBox.tsx b/src/client/views/nodes/PresBox.tsx
index d43df0bfb..4c5535548 100644
--- a/src/client/views/nodes/PresBox.tsx
+++ b/src/client/views/nodes/PresBox.tsx
@@ -186,7 +186,7 @@ export class PresBox extends React.Component<FieldViewProps> {
//docToJump stayed same meaning, it was not in the group or was the last element in the group
const aliasOf = await Cast(docToJump.aliasOf, Doc);
- const srcContext = aliasOf && await Cast(aliasOf.anchor1Context, Doc);
+ const srcContext = aliasOf && await Cast(aliasOf.anchor1_context, Doc);
if (docToJump === curDoc) {
//checking if curDoc has navigation open
const target = await Cast(curDoc.presentationTargetDoc, Doc);