🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix: hide batch export button for selfhosters (#2365)
Hassieb Pakzadabbca987b460
diff --git a/web/src/components/BatchExportTableButton.tsx b/web/src/components/BatchExportTableButton.tsxindex 07500a2475..61bfedc1b1 100644--- a/web/src/components/BatchExportTableButton.tsx+++ b/web/src/components/BatchExportTableButton.tsx@@ -15,6 +15,7 @@ import {import React from "react";import { api } from "@/src/utils/api";import { showSuccessToast } from "@/src/features/notifications/showSuccessToast";+import { isEeEnabled } from "@/src/ee/utils/isEeEnabled";export type BatchExportTableButtonProps = {projectId: string;@@ -49,6 +50,8 @@ export const BatchExportTableButton: React.FC<BatchExportTableButtonProps> = (});};+ if (!isEeEnabled) return null;+return (<DropdownMenu><DropdownMenuTrigger asChild>