fix(analysis): bind overview document identity to the active target (#1094)
* fix(analysis): bind overview document identity to the active target * fix(analysis): refresh legacy overview snapshot results
This commit is contained in:
@@ -455,7 +455,8 @@ const analysisProfileForRoute = (
|
||||
): AnalysisProfileCommitment | undefined => {
|
||||
const profile = route.profile;
|
||||
if (profile === null || profile === undefined) return undefined;
|
||||
if (isWorkflowEvidenceTool(tool)) return workflowAnalysisProfile(profile);
|
||||
if (isWorkflowEvidenceTool(tool))
|
||||
return workflowAnalysisProfile(profile, tool);
|
||||
const provider = providerIdentityForRoute(route, tool);
|
||||
return provider.id === profile.provider.id ? profile : undefined;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user