From efcacfa867ac7ac39d97ed2fe33c1311b912ca0f Mon Sep 17 00:00:00 2001
From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com>
Date: Thu, 21 Mar 2024 00:55:34 -0400
Subject: the decommenting

---
 .../collections/collectionSchema/CollectionSchemaView.tsx      | 10 ----------
 1 file changed, 10 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 d583ffd03..b2942cc47 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -423,11 +423,8 @@ export class CollectionSchemaView extends CollectionSubView() {
 
     @action
     addDocToSelection = (doc: Doc, extendSelection: boolean, index: number) => {
-        //console.log("doc added");
         const rowDocView = DocumentManager.Instance.getDocumentView(doc);
         if (rowDocView) SelectionManager.SelectView(rowDocView, extendSelection);
-        //let selectedIndexes: Array<Number> = this._selectedDocs.map(doc => this.rowIndex(doc));
-        //console.log(selectedIndexes);
     };
 
     @action
@@ -442,8 +439,6 @@ export class CollectionSchemaView extends CollectionSubView() {
         const lastSelectedRow = this.rowIndex(lastSelected);
         const startRow = Math.min(lastSelectedRow, index);
         const endRow = Math.max(lastSelectedRow, index);
-        //console.log(lastSelectedRow);
-        //console.log("start: " + startRow + " end: " + endRow);
         for (let i = startRow; i <= endRow; i++) {
             const currDoc = this.sortedDocs.docs[i];
             if (!this._selectedDocs.includes(currDoc)) this.addDocToSelection(currDoc, true, i);
@@ -466,8 +461,6 @@ export class CollectionSchemaView extends CollectionSubView() {
         }
 
         let selectedIndexes: Array<Number> = this._selectedCells.map(doc => this.rowIndex(doc));
-        console.log("cells: " + selectedIndexes);
-        console.log("index: " + this._selectedCol);
 
     };
 
@@ -477,7 +470,6 @@ export class CollectionSchemaView extends CollectionSubView() {
         this._selectedCells = this._selectedCells.filter(d => d !== doc);
         if (this._selectedCells){
             let selectedIndexes: Array<Number> = this._selectedCells.map(doc => this.rowIndex(doc));
-            console.log("cells: " + selectedIndexes);
         }
     };
 
@@ -609,7 +601,6 @@ export class CollectionSchemaView extends CollectionSubView() {
     setColumnValues = (key: string, value: string) => {
         this.childDocs.forEach(doc => {
             let docIsSelected = this._selectedCells && !(this._selectedCells?.filter(d => d === doc).length === 0);
-            console.log(docIsSelected);
             if (docIsSelected){
                 KeyValueBox.SetField(doc, key, value)
                 }
@@ -620,7 +611,6 @@ export class CollectionSchemaView extends CollectionSubView() {
     };
 
     setSelectedColumnValues = (key: string, value: string) => {
-        console.log("called");
         this.childDocs.forEach(doc => {
             let docIsSelected = this._selectedCells && !(this._selectedCells?.filter(d => d === doc).length === 0);
             if (docIsSelected){
-- 
cgit v1.2.3-70-g09d2

