From 4a9d8bf9e09a25faeba41c7ece46b86548d66847 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Fri, 14 Feb 2025 00:29:49 -0500
Subject: removed chooseDoc option from gpttypes because its redundant with
 Filter

---
 src/client/views/collections/CollectionCardDeckView.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'src/client/views/collections/CollectionCardDeckView.tsx')

diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx
index ba68504d7..e00aa65d7 100644
--- a/src/client/views/collections/CollectionCardDeckView.tsx
+++ b/src/client/views/collections/CollectionCardDeckView.tsx
@@ -444,7 +444,7 @@ export class CollectionCardView extends CollectionSubView() {
             // Split the string into individual list items
             const listItems = gptOutput.split('======').filter(item => item.trim() !== '');
 
-            if (questionType === GPTTypeStyle.Filter || questionType === GPTTypeStyle.ChooseDoc) {
+            if (questionType === GPTTypeStyle.Filter) {
                 this.childDocs.forEach(d => {
                     TagItem.removeTagFromDoc(d, '#chat');
                 });
@@ -471,7 +471,6 @@ export class CollectionCardView extends CollectionSubView() {
                             }
                             break;
                         case GPTTypeStyle.Filter:
-                        case GPTTypeStyle.ChooseDoc:
                             TagItem.addTagToDoc(doc, '#chat');
                             Doc.setDocFilter(this.Document, 'tags', '#chat', 'check');
                             break;
-- 
cgit v1.2.3-70-g09d2

