diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-10 11:19:32 -0400 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-10 11:19:32 -0400 |
commit | ecea2cb94fa0ea3f9959b3a8f5f43ae7e98aa552 (patch) | |
tree | fa52169fd5f4023c0d53725cfb52f402f49d5045 | |
parent | 99b0ce24e4d56100746016995c20f9bb9c109072 (diff) |
lockopen icon
-rw-r--r-- | src/client/views/MainView.tsx | 1 | ||||
-rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | 6 |
2 files changed, 2 insertions, 5 deletions
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<string>(currKeys); - console.log(...currKeys); }; @action |