Delete confirmation tweak

This commit is contained in:
Matt Rubens
2025-01-07 09:28:45 -05:00
parent 3346844584
commit 20322af5df

View File

@@ -863,13 +863,12 @@ export class ClineProvider implements vscode.WebviewViewProvider {
if (message.text) {
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 },
"Yes",
"No",
)
if (answer === "No" || answer === undefined) {
if (answer !== "Yes") {
break
}