v1.10.0 #471

Merged
LukeGus merged 106 commits from dev-1.10.0 into main 2026-01-01 04:20:12 +00:00
Showing only changes of commit 2adb47e712 - Show all commits

View File

@@ -725,6 +725,11 @@ export function SSHToolsSidebar({
onSnippetExecute(snippet.content);
toast.success(t("snippets.executeSuccess", { name: snippet.name }));
}
// Remove focus from any active element in the sidebar to prevent accidental re-execution
if (document.activeElement instanceof HTMLElement) {
document.activeElement.blur();
}
};
const handleCopy = (snippet: Snippet) => {