aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkMenuGroup.tsx
diff options
context:
space:
mode:
authorJenny Yu <jennyyu212@outlook.com>2022-04-28 16:17:25 -0400
committerJenny Yu <jennyyu212@outlook.com>2022-04-28 16:17:25 -0400
commit83c615b1b9706818894ee74481afd4c2bf34fe61 (patch)
tree6e6a242fdbe1d5c164fce9d0c1ae84b4423ed40c /src/client/views/linking/LinkMenuGroup.tsx
parent9f62b6d1c9848439671065dac9ed79bc393c83fa (diff)
parent15bc17cbbe3816ab78ce653105ddff06bce18c59 (diff)
Merge branch 'master' into recording-jenny
Diffstat (limited to 'src/client/views/linking/LinkMenuGroup.tsx')
-rw-r--r--src/client/views/linking/LinkMenuGroup.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/linking/LinkMenuGroup.tsx b/src/client/views/linking/LinkMenuGroup.tsx
index 5b1e29e67..fa6a2f506 100644
--- a/src/client/views/linking/LinkMenuGroup.tsx
+++ b/src/client/views/linking/LinkMenuGroup.tsx
@@ -13,6 +13,7 @@ interface LinkMenuGroupProps {
sourceDoc: Doc;
group: Doc[];
groupType: string;
+ clearLinkEditor: () => void;
showEditor: (linkDoc: Doc) => void;
docView: DocumentView;
itemHandler?: (doc: Doc) => void;
@@ -53,6 +54,7 @@ export class LinkMenuGroup extends React.Component<LinkMenuGroupProps> {
linkDoc={linkDoc}
sourceDoc={this.props.sourceDoc}
destinationDoc={destination}
+ clearLinkEditor={this.props.clearLinkEditor}
showEditor={this.props.showEditor}
menuRef={this._menuRef} />;
}