Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: loading state of annotation queue dropdown (#3750)

marliessophie3150c655fdbf
diff --git a/web/src/ee/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx b/web/src/ee/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
index e51074ef2a..78d3626b0d 100644
--- a/web/src/ee/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
+++ b/web/src/ee/features/annotation-queues/components/CreateNewAnnotationQueueItem.tsx
@@ -94,10 +94,12 @@ export const CreateNewAnnotationQueueItem = ({
return (
<Button
variant="secondary"
- disabled
+ disabled={session.status !== "authenticated"}
className="rounded-l-none rounded-r-md border-l-2"
>
- <ChevronDown className="h-3 w-3" />
+ <span className="relative mr-1 text-xs">
+ <ChevronDown className="h-3 w-3" />
+ </span>
</Button>
);
}