mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 06:59:42 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user