mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
fix(vscode): remove duplicate Agent Manager empty state
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"kilo-code": patch
|
||||
---
|
||||
|
||||
Show only one empty-state panel after removing the last Agent Manager worktree.
|
||||
@@ -2459,20 +2459,6 @@ const AgentManagerContent: Component = () => {
|
||||
track={metrics.click}
|
||||
/>
|
||||
|
||||
{/* Empty worktree state */}
|
||||
<Show when={contextEmpty()}>
|
||||
<div class="am-empty-state">
|
||||
<div class="am-empty-state-icon">
|
||||
<Icon name="branch" size="large" />
|
||||
</div>
|
||||
<div class="am-empty-state-text">{t("agentManager.session.noSessions")}</div>
|
||||
<Button variant="primary" size="small" onClick={handleAddSession}>
|
||||
{t("agentManager.session.new")}
|
||||
<span class="am-shortcut-hint">{kb().newTab ?? ""}</span>
|
||||
</Button>
|
||||
</div>
|
||||
</Show>
|
||||
|
||||
<Show when={overlay()}>
|
||||
{(state) => (
|
||||
<div class="am-setup-overlay">
|
||||
|
||||
Reference in New Issue
Block a user