aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-06-02 13:32:17 -0400
committermehekj <mehek.jethani@gmail.com>2022-06-02 13:32:17 -0400
commiteee5c6e67b25c0ff49289458acea0ef6f11d92de (patch)
tree652b91ba9881c4fb45b07df5ae56ead79e26013f /src/client/views/search
parent53cae5e2ab9267295a824ff721c119ada5e5dc20 (diff)
parent30347f1ac971b3299cfbefd5505e20f5e82702e0 (diff)
Merge branch 'inking-naafi-mehek' into master-cleanup
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 152b7bbcb..321af69a1 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -108,6 +108,7 @@ export class SearchBox extends ViewBoxBaseComponent<SearchBoxProps>() {
this.selectElement(doc, () => DocumentManager.Instance.getFirstDocumentView(doc)?.ComponentView?.search?.(this._searchString, undefined, false));
});
+ // TODO: nda -- Change this method to change what happens when you click on the item.
makeLink = action((linkTo: Doc) => {
if (this.props.linkFrom) {
const linkFrom = this.props.linkFrom();