Commit 1855a3c7 authored by Mark Florian's avatar Mark Florian

Merge branch 'djadmin-fix-pipeline-view' into 'master'

Fix Empty Response for Pipeline Security Summary

See merge request gitlab-org/gitlab!39075
parents c5798a02 3cc4b155
......@@ -28,7 +28,7 @@ export default {
},
update(data) {
const summary = data?.project?.pipeline?.securityReportSummary;
return Object.keys(summary).length ? summary : null;
return summary && Object.keys(summary).length ? summary : null;
},
skip() {
return !this.glFeatures.pipelinesSecurityReportSummary;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment