mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Delete confirmation tweak
This commit is contained in:
@@ -863,13 +863,12 @@ export class ClineProvider implements vscode.WebviewViewProvider {
|
|||||||
if (message.text) {
|
if (message.text) {
|
||||||
|
|
||||||
const answer = await vscode.window.showInformationMessage(
|
const answer = await vscode.window.showInformationMessage(
|
||||||
"What would you like to delete this api config?",
|
"Are you sure you want to delete this configuration profile?",
|
||||||
{ modal: true },
|
{ modal: true },
|
||||||
"Yes",
|
"Yes",
|
||||||
"No",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if (answer === "No" || answer === undefined) {
|
if (answer !== "Yes") {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user