Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add loading indicator for cves on cpe detailspage #2248

Merged

Conversation

sarahd93
Copy link
Contributor

Checklist:

@sarahd93 sarahd93 force-pushed the cpe_detailspage_loading_indicator branch from a41701d to aafcef7 Compare June 19, 2020 07:06
@sarahd93 sarahd93 marked this pull request as ready for review June 19, 2020 07:17
@sarahd93 sarahd93 requested a review from a team June 19, 2020 07:17
@codecov
Copy link

codecov bot commented Jun 19, 2020

Codecov Report

Merging #2248 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2248      +/-   ##
==========================================
- Coverage   52.74%   52.74%   -0.01%     
==========================================
  Files        1070     1070              
  Lines       25777    25779       +2     
  Branches     7302     7304       +2     
==========================================
  Hits        13597    13597              
- Misses      11058    11060       +2     
  Partials     1122     1122              
Impacted Files Coverage Δ
gsa/src/web/pages/cpes/detailspage.js 36.36% <0.00%> (-3.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5d50d31...aafcef7. Read the comment docs.

@sarahd93 sarahd93 requested a review from bjoernricks June 19, 2020 07:17
@@ -136,8 +138,10 @@ const Details = ({entity, links = true}) => {
))}
</TableBody>
</Table>
) : (
) : cve_refs === 0 ? (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess cve_refs is a count and not an array right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, cves is the array with all the cves in in it and cve_refs is the count. I totally missed that at first. cve_refs is also used for showing the number of cves on the listpage.

@bjoernricks bjoernricks merged commit 3142934 into greenbone:master Jun 19, 2020
@sarahd93 sarahd93 deleted the cpe_detailspage_loading_indicator branch June 19, 2020 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants