We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e72c51 commit cd158f6Copy full SHA for cd158f6
apps/webapp/app/components/runs/v3/SpanTitle.tsx
@@ -11,13 +11,16 @@ type SpanTitleProps = {
11
level: TaskEventLevel;
12
isPartial: boolean;
13
size: "small" | "large";
14
+ hideAccessory?: boolean;
15
};
16
17
export function SpanTitle(event: SpanTitleProps) {
18
return (
19
<span className={cn("flex items-center gap-x-2 overflow-x-hidden", eventTextClassName(event))}>
20
<span className="truncate">{event.message}</span>{" "}
- <SpanAccessory accessory={event.style.accessory} size={event.size} />
21
+ {!event.hideAccessory && (
22
+ <SpanAccessory accessory={event.style.accessory} size={event.size} />
23
+ )}
24
</span>
25
);
26
}
0 commit comments