From aa8e8fc3a2113c9f98471cc0ca1cfb660387fc81 Mon Sep 17 00:00:00 2001
From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com>
Date: Sun, 17 Mar 2024 02:24:12 -0400
Subject: c

---
 .../views/collections/collectionSchema/CollectionSchemaView.tsx    | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 71d54eae2..4e90f5006 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -187,7 +187,7 @@ export class CollectionSchemaView extends CollectionSubView() {
                         const lastIndex = this.rowIndex(lastDoc);
                         const curDoc = this.sortedDocs.docs[lastIndex];
                         if (lastIndex >= 0 && lastIndex < this.childDocs.length - 1) {
-                            //!e.shiftKey && this.clearSelection();
+                            !e.shiftKey && this.clearSelection();
                             const newDoc = this.sortedDocs.docs[lastIndex + 1];
                             const newDoc2 = this.sortedDocs.docs[lastIndex + 2];
                             if (this._selectedDocs.includes(newDoc)) {
@@ -418,7 +418,10 @@ export class CollectionSchemaView extends CollectionSubView() {
     };
 
     @action
-    clearSelection = () => SelectionManager.DeselectAll();
+    clearSelection = () => {
+        SelectionManager.DeselectAll()
+        console.log(2);
+    };
 
     selectRows = (doc: Doc, lastSelected: Doc) => {
         const index = this.rowIndex(doc);
-- 
cgit v1.2.3-70-g09d2

