mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-31 01:37:28 +08:00
fix(vscode): address restore review feedback
This commit is contained in:
@@ -218,7 +218,7 @@ export class AgentManagerProvider implements Disposable {
|
||||
this.panel = ctx
|
||||
|
||||
this.statsPoller.setVisible(ctx.visible)
|
||||
this.onVisibilityChange?.(true)
|
||||
this.onVisibilityChange?.(ctx.visible)
|
||||
ctx.onDidChangeVisibility((visible) => {
|
||||
this.statsPoller.setVisible(visible)
|
||||
})
|
||||
|
||||
@@ -193,7 +193,6 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
deserializeWebviewPanel(panel: vscode.WebviewPanel) {
|
||||
if (restore.agentManager === false) {
|
||||
panel.dispose()
|
||||
remember({ agentManager: false })
|
||||
return Promise.resolve()
|
||||
}
|
||||
const ctx = agentManagerHost.wrapExistingPanel(panel, {
|
||||
|
||||
Reference in New Issue
Block a user