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 eaee2fc commit f18d007Copy full SHA for f18d007
webview-ui/src/components/chat/TaskHeader.tsx
@@ -71,11 +71,14 @@ const TaskHeader = ({
71
</StandardTooltip>
72
)
73
74
+ const hasTodos = todos && Array.isArray(todos) && todos.length > 0
75
+
76
return (
77
<div className="py-2 px-3">
78
<div
79
className={cn(
- "rounded-xs p-2.5 flex flex-col gap-1.5 relative z-1 border",
80
+ "p-2.5 flex flex-col gap-1.5 relative z-1 border",
81
+ hasTodos ? "rounded-t-xs border-b-0" : "rounded-xs",
82
isTaskExpanded
83
? "border-vscode-panel-border text-vscode-foreground"
84
: "border-vscode-panel-border/80 text-vscode-foreground/80",
0 commit comments