Skip to content

Fix error for branch exceptions for scan result polict

Artur Fedorov requested to merge policies-detailed-drawer-fix into master

What does this MR do and why?

This MR fixes error for branch exceptions for scan result policy

Method in template was called like computed and exception list was rendered even without exceptions

This MR fixes this issue

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
before.png after.png

How to set up and validate locally

  1. Go to a project or group
  2. Open Secure -> Policies
  3. Create new scan result policy without exceptions
  4. Go back to Secure -> Policies, select created policy, open drawer
  5. Console should be without errors

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading