Skip to content

Commit 1f60dc9

Browse files
authored
Merge pull request #26 from VapiAI/ash/remove-end-chat-button-for-call
VAP-999 Only show end chat button for chat
2 parents 22d54f3 + c2c6373 commit 1f60dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/widget/WidgetHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const WidgetHeader: React.FC<WidgetHeaderProps> = ({
7070
</div>
7171
</div>
7272
<div className="flex items-center space-x-2">
73-
{showEndChatButton !== false && (
73+
{showEndChatButton !== false && mode === 'chat' && (
7474
<button
7575
onClick={onChatComplete}
7676
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

Comments
 (0)