Fix error for branch exceptions for scan result polict
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 |
---|---|
How to set up and validate locally
- Go to a project or group
- Open Secure -> Policies
- Create new
scan result policy
without exceptions - Go back to Secure -> Policies, select created policy, open drawer
- 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.
-
I have evaluated the MR acceptance checklist for this MR.