Skip to content

Commit 9ff1e73

Browse files
committed
add optional chaining operator to selected job
1 parent 5ba9b37 commit 9ff1e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/jobManager/jobManagerView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export class JobManagerView implements TreeDataProvider<any> {
304304
updateStatusBar();
305305

306306
const selectedJob = JobManager.getSelection();
307-
const selectedSchema = selectedJob.job.options.libraries[0];
307+
const selectedSchema = selectedJob?.job.options.libraries[0];
308308

309309
// re-register db2i tables context provider with current schema
310310
if (

0 commit comments

Comments
 (0)