Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #21274 - determine cvv errata based on errata_counts total
This is a small change to address an edge case where when a user would view the details of a content view version in the UI, they may not see the Errata tab. This was occuring in cases where the errata_counts had null as the first entry in the result set (e.g. errata_counts['security']==null). Since the version['errata_counts'] (if included) will include a 'total', this logic will use that total to decide if the Errata tab will be shown.
- Loading branch information