File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/databricks-vscode/src/ui/bundle-resource-explorer Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export class JobTreeNode implements BundleResourceExplorerTreeNode {
1818 get url ( ) : string | undefined {
1919 const host = this . connectionManager . databricksWorkspace ?. host ;
2020
21- if ( host === undefined ) {
21+ if ( ! host || ! this . data . id ) {
2222 return undefined ;
2323 }
2424
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class PipelineTreeNode implements BundleResourceExplorerTreeNode {
1717 get url ( ) : string | undefined {
1818 const host = this . connectionManager . databricksWorkspace ?. host ;
1919
20- if ( host === undefined ) {
20+ if ( ! host || ! this . data . id ) {
2121 return undefined ;
2222 }
2323
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class TaskTreeNode implements BundleResourceExplorerTreeNode {
2929
3030 get url ( ) : string | undefined {
3131 const host = this . connectionManager . databricksWorkspace ?. host ;
32- if ( host === undefined || this . taskKey === undefined ) {
32+ if ( ! host || ! this . jobId || ! this . taskKey ) {
3333 return undefined ;
3434 }
3535
You can’t perform that action at this time.
0 commit comments