avoid js error in case a run request returns a 404
@@ -156,6 +156,8 @@ export class DefaultSSEHandler {
pager.insert(href);
}
}
+
+ if (run) {
this.pipelineService.updateLatestRun(run);
/*
@@ -167,6 +169,7 @@ export class DefaultSSEHandler {
if (this.activityService.hasItem(testResultUrl)) {
this.activityService.fetchTestSummary(testResultUrl, { useCache: false, disableLoadingIndicator: true });
}
+ }
});
}
