aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocuLinkBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-02-21 09:32:23 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-02-21 09:32:23 -0500
commit8274233572d5ff299e13868c86bd2436f4c276fc (patch)
tree9127a4e7c396110d4e03626a46f5a57dbd7b2eb4 /src/client/views/nodes/DocuLinkBox.tsx
parent72892f0811f03dae096ebea2dcac24b56d661b07 (diff)
fixed link naming and exposed link database (at least for testing)
Diffstat (limited to 'src/client/views/nodes/DocuLinkBox.tsx')
-rw-r--r--src/client/views/nodes/DocuLinkBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocuLinkBox.tsx b/src/client/views/nodes/DocuLinkBox.tsx
index 1983ae529..c4d99456d 100644
--- a/src/client/views/nodes/DocuLinkBox.tsx
+++ b/src/client/views/nodes/DocuLinkBox.tsx
@@ -67,6 +67,7 @@ export class DocuLinkBox extends DocComponent<FieldViewProps, DocLinkSchema>(Doc
const alias = Doc.MakeAlias(this.props.Document);
alias.isButton = undefined;
alias.isBackground = undefined;
+ alias.layoutKey = "layout";
this.props.addDocTab(alias, StrCast(this.props.Document.linkOpenLocation, "inTab"));
} else {
DocumentManager.Instance.FollowLink(this.props.Document, this.props.ContainingCollectionDoc as Doc, document => this.props.addDocTab(document, StrCast(this.props.Document.linkOpenLocation, "inTab")), false);