Fix incident layout when new issue look is turned on

What does this MR do and why?

When the new issue look is turned on, incidents (which do not use work items yet) are accidentally currently included in the boolean check to skip adding legacy issuable right sidebar classes to the page. This MR adjusts the check to make sure the right sidebar classes are correctly applied for incident pages.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

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

Screenshots or screen recordings

Before After
gdk.test_3443_flightjs_Flight_-issues_57__1 gdk.test_3443_flightjs_Flight_-_issues_57

How to set up and validate locally

  1. Check out this branch
  2. Turn the new issue look On in your GDK
  3. Ensure you are using the Fluid layout in your user preferences in the GDK
  4. Visit an incident page in the GDK

Related to #518025 (closed)

Merge request reports

Loading