Skip to content

Commit f2f0126

Browse files
Check for idle deployment state and not running (#1064)
## Changes <!-- Summary of your changes that are easy to understand --> ## Tests <!-- How is this tested? -->
1 parent 927ea42 commit f2f0126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/databricks-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
},
431431
{
432432
"command": "databricks.bundle.cancelRun",
433-
"when": "view == dabsResourceExplorerView && viewItem =~ /^databricks.bundle.*.cancellable.*$/ && databricks.context.bundle.deploymentState == running",
433+
"when": "view == dabsResourceExplorerView && viewItem =~ /^databricks.bundle.*.cancellable.*$/ && databricks.context.bundle.deploymentState == idle",
434434
"group": "inline@0"
435435
}
436436
],

0 commit comments

Comments
 (0)