Skip to content

Prevent possible error on work items without children

Simon Knox requested to merge psi-wi-nullrefg into master

What does this MR do and why?

Prevent possible error on work items without children

When loading a Requirement on work item page, this could previously null-ref. If this.workItem was defined, but findHierarchyWidgetChildren returned null

Screenshots or screen recordings

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

Screenshot_2023-06-27_at_22.39.40

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a requirement
  2. Load in /work_items/iid route

MR acceptance checklist

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

Edited by Simon Knox

Merge request reports

Loading