fix: also remove New Session tab from JS render function

The renderSessionTabs() function was re-adding the + button. Now it only
renders session tabs without the new session button. Users can still
create sessions via Ctrl+N keyboard shortcut.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-19 02:28:10 +01:00
co-authored by Claude Opus 4.5
parent 0e0b5263bc
commit 3f614745d6
-7
View File
@@ -506,13 +506,6 @@ class ClaudemanApp {
`;
}
// Add the "+" button at the end of session tabs
html += `
<div class="session-tab new-tab" onclick="app.createNewSession()" title="New Session (Ctrl+N)">
<span>+</span>
</div>
`;
container.innerHTML = html;
}