diff options
| author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-04 13:01:47 -0400 |
|---|---|---|
| committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-04 13:01:47 -0400 |
| commit | d215534d6f0d66db9d5bf15f9fefef3fe5398024 (patch) | |
| tree | 6076127d9aa57f36445b48d635751b82edae7b1e /src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | |
| parent | 9e77f980e7704999ef0a1c1845d660bccb13ff8a (diff) | |
c
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx index ef1819120..92cc58f54 100644 --- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx +++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx @@ -33,6 +33,7 @@ import { SchemaColumnHeader } from './SchemaColumnHeader'; import { SchemaRowBox } from './SchemaRowBox'; import { ActionButton } from '@adobe/react-spectrum'; import { CollectionMasonryViewFieldRow } from '../CollectionMasonryViewFieldRow'; +import { Func } from 'mocha'; const { SCHEMA_NEW_NODE_HEIGHT } = require('../../global/globalCssVariables.module.scss'); // prettier-ignore @@ -706,7 +707,7 @@ export class CollectionSchemaView extends CollectionSubView() { this.addColumn(key, defaultVal); this._makeNewColumn = false; } else this.changeColumnKey(this._columnMenuIndex! | index!, key, defaultVal); - + this.closeColumnMenu(); }; @@ -884,11 +885,6 @@ export class CollectionSchemaView extends CollectionSubView() { @computed get keysDropdown() { return ( <div className="schema-key-search"> - <button - className="schema-column-menu-button" - onClick={() => this.toggleMenuKeyFilter()}> - {this._colKeysFiltered ? "All keys" : "Active keys only"} - </button> <div className="schema-key-list" ref={r => { @@ -1065,6 +1061,7 @@ export class CollectionSchemaView extends CollectionSubView() { <SchemaColumnHeader // eslint-disable-next-line react/no-array-index-key //cleanupField={this.cleanupComputedField} + keysDropdown={(this.keysDropdown)} schemaView={this} columnWidth={() => CollectionSchemaView._minColWidth} //TODO: update Document={this.Document} |
