diff options
author | Fawn <fangrui_tong@brown.edu> | 2019-07-27 23:38:55 -0400 |
---|---|---|
committer | Fawn <fangrui_tong@brown.edu> | 2019-07-27 23:38:55 -0400 |
commit | 1c7ae29e05e2a7c6ad75d3edb6a9ea17ed36e523 (patch) | |
tree | 68d5baa8a501a5b511e21630657c7e15a148a573 /src/client/views/nodes/LinkMenuGroup.tsx | |
parent | cf4da743cc82357b4018184d026a07f715f61ad5 (diff) | |
parent | 73d30f20e5d38104424c47845a28e860070e4159 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into schema_view_improvements_2
Diffstat (limited to 'src/client/views/nodes/LinkMenuGroup.tsx')
-rw-r--r-- | src/client/views/nodes/LinkMenuGroup.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkMenuGroup.tsx b/src/client/views/nodes/LinkMenuGroup.tsx index 3637807ad..0cb216aa6 100644 --- a/src/client/views/nodes/LinkMenuGroup.tsx +++ b/src/client/views/nodes/LinkMenuGroup.tsx @@ -21,6 +21,7 @@ interface LinkMenuGroupProps { group: Doc[]; groupType: string; showEditor: (linkDoc: Doc) => void; + addDocTab: (document: Doc, dataDoc: Doc | undefined, where: string) => void; } @observer @@ -83,6 +84,7 @@ export class LinkMenuGroup extends React.Component<LinkMenuGroupProps> { let destination = LinkManager.Instance.getOppositeAnchor(linkDoc, this.props.sourceDoc); if (destination && this.props.sourceDoc) { return <LinkMenuItem key={destination[Id] + this.props.sourceDoc[Id]} groupType={this.props.groupType} + addDocTab={this.props.addDocTab} linkDoc={linkDoc} sourceDoc={this.props.sourceDoc} destinationDoc={destination} showEditor={this.props.showEditor} />; } }); |