mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
enable task cancellation for wizard operation (#16804)
This commit is contained in:
@@ -24,7 +24,7 @@ export class CancelAction extends Action {
|
||||
super(id, label);
|
||||
}
|
||||
public override async run(element: TaskNode): Promise<void> {
|
||||
if (element instanceof TaskNode && element.providerName) {
|
||||
if (element instanceof TaskNode) {
|
||||
try {
|
||||
const result = await this._taskService.cancelTask(element.providerName, element.id);
|
||||
if (!result) {
|
||||
|
||||
Reference in New Issue
Block a user