From d215534d6f0d66db9d5bf15f9fefef3fe5398024 Mon Sep 17 00:00:00 2001
From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com>
Date: Tue, 4 Jun 2024 13:01:47 -0400
Subject: c

---
 .../views/collections/collectionSchema/CollectionSchemaView.tsx  | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

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

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}
-- 
cgit v1.2.3-70-g09d2

