From 547baee612439b3deda2c47114c681d6f0ee370d Mon Sep 17 00:00:00 2001 From: "matter-ai-bot[bot]" <150888575+matter-ai-bot[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 10:23:05 +0000 Subject: [PATCH] fix: webview-ui/src/components/chat/SourceControlPanel.tsx - address review comments --- .../components/chat/SourceControlPanel.tsx | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/webview-ui/src/components/chat/SourceControlPanel.tsx b/webview-ui/src/components/chat/SourceControlPanel.tsx index 4c143b894..70b98f4f8 100644 --- a/webview-ui/src/components/chat/SourceControlPanel.tsx +++ b/webview-ui/src/components/chat/SourceControlPanel.tsx @@ -374,11 +374,9 @@ ${comment.suggestion} ) : ( - - {hasKilocodeToken ? "Apply All" : copyButtonText} + onClick={handleCopyAllPrompts}> + + {copyButtonText} )} @@ -432,15 +430,9 @@ ${comment.suggestion} ) : ( - hasKilocodeToken - ? handleApplyFix(index) - : handleCopyPrompt(comment) - }> - - {hasKilocodeToken ? "Apply" : "Copy"} + onClick={() => handleCopyPrompt(comment)}> + + Copy )}