Reuse validation facts when attributing skipped edits
This commit is contained in:
@@ -52,6 +52,9 @@ func (r Request) Preview(candidate proposals.EnrichedCorrectionProposal) proposa
|
||||
if r.Previews != nil {
|
||||
r.Previews[candidate.ProposalIndex] = preview
|
||||
}
|
||||
if r.PreviewApplicability != nil {
|
||||
r.PreviewApplicability[candidate.ProposalIndex] = preview.Applicable
|
||||
}
|
||||
return preview
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user