Follow-up to Projects::CompareController changes

What does this MR do and why?

This is a followup to the previous changes to Projects::CompareController

!201495 (comment 2691827220)

!201495 (comment 2691827209)

Issue: #567244 (closed)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading