From ecea2cb94fa0ea3f9959b3a8f5f43ae7e98aa552 Mon Sep 17 00:00:00 2001 From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> Date: Mon, 10 Jun 2024 11:19:32 -0400 Subject: lockopen icon --- src/client/views/MainView.tsx | 1 + .../views/collections/collectionSchema/CollectionSchemaView.tsx | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 5fe9332f4..8dc2ce98a 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -278,6 +278,7 @@ export class MainView extends ObservableReactComponent<{}> { library.add( ...[ + fa.faLockOpen, fa.faSort, fa.faArrowUpZA, fa.faArrowDownAZ, diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx index f501993b5..7302a7c22 100644 --- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx +++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx @@ -207,11 +207,8 @@ export class CollectionSchemaView extends CollectionSubView() { } removeDoc = (doc: Doc) => { - console.log('called') this.removeDocument(doc); - if (doc instanceof Doc) { - console.log('doc is doc') - this._docs = this._docs.filter(d => d !== doc)}; + this._docs = this._docs.filter(d => d !== doc); } rowIndex = (doc: Doc) => this.displayedDocs.docs.indexOf(doc); @@ -353,7 +350,6 @@ export class CollectionSchemaView extends CollectionSubView() { const currKeys = this.columnKeys.slice(); currKeys.splice(index, 1); this.layoutDoc.schema_columnKeys = new List(currKeys); - console.log(...currKeys); }; @action -- cgit v1.2.3-70-g09d2