Fix loading results in second opened view
When results were already cached in memory and the view requested the result, it would not be loaded because the event would not be fired. This fires the event when the result is loaded from cache as well, to ensure that the view always receives the result.
This commit is contained in:
@@ -121,6 +121,7 @@ export class VariantAnalysisResultsManager extends DisposableObject {
|
||||
createCacheKey(variantAnalysisId, repositoryFullName),
|
||||
);
|
||||
if (result) {
|
||||
this._onResultLoaded.fire(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user