We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e3be88 commit af0c6c0Copy full SHA for af0c6c0
src/views/jobManager/selfCodes/selfCodesResultsView.ts
@@ -69,7 +69,7 @@ export class selfCodesResultsView implements TreeDataProvider<any> {
69
if (this.autoRefresh) {
70
const selected = JobManager.getSelection();
71
// Don't refresh if the job is busy.
72
- if (selected.job.getStatus() === JobStatus.Ready) {
+ if ((selected && selected.job.getStatus() === JobStatus.Ready) || selected === undefined) {
73
this.refresh();
74
}
75
0 commit comments