diff options
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.tsx')
-rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
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 |