From 070dfa7a9bc9faea20c24eb537553334793a24eb Mon Sep 17 00:00:00 2001
From: Ramnique Singh <30795890+ramnique@users.noreply.github.com>
Date: Tue, 6 May 2025 16:30:29 +0530
Subject: [PATCH] hide disabled rag options
---
.../projects/[projectId]/sources/new/form.tsx | 33 ++++++++++---------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx b/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx
index 6a4c8f5f..32a4f7d7 100644
--- a/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx
+++ b/apps/rowboat/app/projects/[projectId]/sources/new/form.tsx
@@ -24,28 +24,34 @@ export function Form({
const [sourceType, setSourceType] = useState("");
const router = useRouter();
- const dropdownOptions = [
+ let dropdownOptions = [
{
key: "text",
label: "Text",
startContent: