mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-11 03:38:15 +00:00
fix: simplify retention purge notification - remove non-working View Settings button
This commit is contained in:
parent
19efb33e4d
commit
0540d2711b
1 changed files with 1 additions and 9 deletions
|
|
@ -381,15 +381,7 @@ export function startBackgroundRetentionPurge(options: BackgroundPurgeOptions):
|
|||
days: retention,
|
||||
})
|
||||
|
||||
const viewSettingsLabel = t("common:taskHistoryRetention.actions.viewSettings")
|
||||
const dismissLabel = t("common:taskHistoryRetention.actions.dismiss")
|
||||
|
||||
vscode.window.showInformationMessage(message, viewSettingsLabel, dismissLabel).then((action) => {
|
||||
if (action === viewSettingsLabel) {
|
||||
// Navigate to Roo Code settings About tab
|
||||
vscode.commands.executeCommand("roo-cline.settingsButtonClicked", "about")
|
||||
}
|
||||
})
|
||||
vscode.window.showInformationMessage(message)
|
||||
}
|
||||
} catch (error) {
|
||||
log(`[Retention] Failed during background purge: ${error instanceof Error ? error.message : String(error)}`)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue