diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-28 09:29:09 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-28 09:29:09 -0400 |
| commit | 1e7796692551ba71cd755a122697327f4d85ccde (patch) | |
| tree | 5571fc297f315188dc2859452073875d876e0c6b /src/client/views/collections/CollectionSchemaHeaders.tsx | |
| parent | 0ba42a96a69f79b388c3279d683636f8cf6b0eab (diff) | |
fixed follow link to scroll stacking/masonry views properly.
Diffstat (limited to 'src/client/views/collections/CollectionSchemaHeaders.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaHeaders.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
