diff options
| author | bobzel <zzzman@gmail.com> | 2021-10-16 01:58:15 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-10-16 01:58:15 -0400 |
| commit | bdf0befa2b5eff79c2729254c2d053afe18b1646 (patch) | |
| tree | 18978affe4b2209c51a9e14277bf2e4bffeb6e2c /src/client/views/collections/collectionSchema | |
| parent | b08232def0a7533cc7dbc7db8d3153e72a3ff2d5 (diff) | |
fixed warnings/errors & redirection to /home
Diffstat (limited to 'src/client/views/collections/collectionSchema')
| -rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaHeaders.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaHeaders.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaHeaders.tsx index 074074bc5..1306b79cb 100644 --- a/src/client/views/collections/collectionSchema/CollectionSchemaHeaders.tsx +++ b/src/client/views/collections/collectionSchema/CollectionSchemaHeaders.tsx @@ -395,8 +395,8 @@ export class KeysDropdown extends React.Component<KeysDropdownProps> { this.closeResultsVisibility = "none"; } for (let i = 0; i < (filters?.length ?? 0) - 1; i++) { - if (filters![i] === this.props.col.heading && keyOptions.includes(filters![i].split(":")[1]) === false) { - keyOptions.push(filters![i + 1]); + if (filters[i] === this.props.col.heading && keyOptions.includes(filters[i].split(":")[1]) === false) { + keyOptions.push(filters[i + 1]); } } const options = keyOptions.map(key => { |
