Skip to content

Commit 27d9661

Browse files
committed
fix: reset Apply button text on data reload
1 parent 4845635 commit 27d9661

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/webview/client/homescreen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ function handleAiToolsData(msg: AiToolsDataMessage): void {
241241
renderAdditionalPlatformRows(msg.additionalPlatforms);
242242
renderSkillRows(msg.skills, msg.installedOnPrimary);
243243
renderMcpRows(msg.mcpServers, msg.configuredMcpKeys);
244+
const applyBtn = el<HTMLButtonElement>("hs-ai-apply");
245+
if (applyBtn) { applyBtn.textContent = "Apply"; }
244246
showPanelState("ready");
245247
updateApplyButton();
246248
}

0 commit comments

Comments
 (0)