aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkEditor.tsx
diff options
context:
space:
mode:
authordinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-30 22:37:59 -0400
committerdinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-30 22:37:59 -0400
commit26e265c6fc4950b859724aa2c0fbe6a028a56bfc (patch)
treef8171faa668cc311cd3010e491e291ecc6be460b /src/client/views/linking/LinkEditor.tsx
parent2df1a0c0cc11c0dbcebf2a53e804cf8ac28db346 (diff)
parent2d2e027f11253834a337680bbfd1ac549bb2a1f0 (diff)
Merge branch 'master' into linking-anh
Diffstat (limited to 'src/client/views/linking/LinkEditor.tsx')
-rw-r--r--src/client/views/linking/LinkEditor.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/linking/LinkEditor.tsx b/src/client/views/linking/LinkEditor.tsx
index ab8ce3da6..94d232a40 100644
--- a/src/client/views/linking/LinkEditor.tsx
+++ b/src/client/views/linking/LinkEditor.tsx
@@ -75,7 +75,7 @@ export class LinkEditor extends React.Component<LinkEditorProps> {
@action
getRelationshipResults = () => {
const query = this.relationship; //current content in input box
- const linkRelationshipList = StrListCast(Doc.UserDoc().linkRelationshipList)
+ const linkRelationshipList = StrListCast(Doc.UserDoc().linkRelationshipList);
if (linkRelationshipList) {
return linkRelationshipList.filter(rel => rel.includes(query));
}
@@ -86,7 +86,7 @@ export class LinkEditor extends React.Component<LinkEditorProps> {
*/
@action
toggleRelationshipResults = () => {
- this.relationshipSearchVisibility = this.relationshipSearchVisibility == "none" ? "block" : "none";
+ this.relationshipSearchVisibility = this.relationshipSearchVisibility === "none" ? "block" : "none";
}
@undoBatch