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 22d54f3 commit c2c6373Copy full SHA for c2c6373
src/components/widget/WidgetHeader.tsx
@@ -70,7 +70,7 @@ const WidgetHeader: React.FC<WidgetHeaderProps> = ({
70
</div>
71
72
<div className="flex items-center space-x-2">
73
- {showEndChatButton !== false && (
+ {showEndChatButton !== false && mode === 'chat' && (
74
<button
75
onClick={onChatComplete}
76
className={`text-red-600 text-sm font-medium px-2 py-1 border border-transparent hover:border-red-600 rounded-md transition-colors`}
0 commit comments