🪢 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(annotation-queues): remove unnecessary refetchOnMount option and ensure current item type is defined (#8199)
marliessophie14831902efe1
diff --git a/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsx b/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsxindex bab5b74c78..36d6447ff5 100644--- a/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsx+++ b/web/src/features/annotation-queues/components/AnnotationQueuesItem.tsx@@ -49,7 +49,7 @@ export const AnnotationQueuesItem = ({itemId: itemId as string,queueId: annotationQueueId,},- { enabled: !!itemId, refetchOnMount: false },+ { enabled: !!itemId },);const [view, setView] = useSessionStorage<"hideTree" | "showTree">(@@ -58,6 +58,7 @@ export const AnnotationQueuesItem = ({);const isSessionItem =+ !!currentItemType.data &¤tItemType.data === AnnotationQueueObjectType.SESSION;const isDetailedViewDisabled = isSessionItem;