Skip to content

Commit 454d92b

Browse files
committed
Update the workspace context deletion rollback option from 'Revert' to 'Undo'
1 parent 3595a52 commit 454d92b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/src/commands/apply-context-command.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,11 +732,11 @@ export function apply_context_command(
732732
is_showing_dialog = true
733733
const choice = await vscode.window.showInformationMessage(
734734
`Deleted context "${deleted_context_name}" from workspace state`,
735-
'Revert'
735+
'Undo'
736736
)
737737
is_showing_dialog = false
738738

739-
if (choice === 'Revert') {
739+
if (choice == 'Undo') {
740740
internal_contexts.splice(deleted_index, 0, deleted_context)
741741
await extension_context.workspaceState.update(
742742
SAVED_CONTEXTS_STATE_KEY,

0 commit comments

Comments
 (0)