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.
2 parents 5f2b28a + af0c6c0 commit 009157cCopy full SHA for 009157c
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