From 1e7796692551ba71cd755a122697327f4d85ccde Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 28 Sep 2020 09:29:09 -0400
Subject: fixed follow link to scroll stacking/masonry views properly.

---
 src/client/views/collections/CollectionSchemaHeaders.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/collections/CollectionSchemaHeaders.tsx')

diff --git a/src/client/views/collections/CollectionSchemaHeaders.tsx b/src/client/views/collections/CollectionSchemaHeaders.tsx
index 66f78201e..dbf7488ec 100644
--- a/src/client/views/collections/CollectionSchemaHeaders.tsx
+++ b/src/client/views/collections/CollectionSchemaHeaders.tsx
@@ -319,7 +319,7 @@ export class KeysDropdown extends React.Component<KeysDropdownProps> {
 
     @computed get showKeys() {
         const whitelistKeys = ["context", "author", "*lastModified", "text", "data", "tags", "creationDate"];
-        let keyOptions = this._searchTerm === "" ? this.props.possibleKeys : this.props.possibleKeys.filter(key => key.toUpperCase().indexOf(this._searchTerm.toUpperCase()) > -1);
+        const keyOptions = this._searchTerm === "" ? this.props.possibleKeys : this.props.possibleKeys.filter(key => key.toUpperCase().indexOf(this._searchTerm.toUpperCase()) > -1);
         const showKeys = new Set<string>();
         [...keyOptions, ...whitelistKeys].forEach(key => (!Doc.UserDoc().noviceMode ||
             whitelistKeys.includes(key)
-- 
cgit v1.2.3-70-g09d2

