Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

fix: allow actions menu for active OpenRAG docs rows

Olfa Maslahc4a5fa7014e6
diff --git a/frontend/app/knowledge/page.tsx b/frontend/app/knowledge/page.tsx
index 28b4f161e..3fc2c3f3a 100644
--- a/frontend/app/knowledge/page.tsx
+++ b/frontend/app/knowledge/page.tsx
@@ -383,14 +383,13 @@ function SearchPage() {
{
cellRenderer: ({ data }: CustomCellRendererProps<File>) => {
const status = data?.status || "active";
- const connectorType = data?.connector_type;
- if (status !== "active" || connectorType === "openrag_docs") {
+ if (status !== "active") {
return null;
}
return (
<KnowledgeActionsDropdown
filename={data?.filename || ""}
- connectorType={connectorType}
+ connectorType={data?.connector_type}
/>
);
},