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

Resolves #3314 fix CNA long name in Search Results page (int) #3326

Merged
merged 4 commits into from
Dec 10, 2024

Conversation

athu-tran
Copy link
Collaborator

@athu-tran athu-tran commented Dec 10, 2024

Summary

The "CNA" fields on the Search Results page is unexpectedly not rendering the CNA long name, rather just the fallback CNA short name else, "No CNA provided."

Important Changes
src/stores/cveListSearch.js

  • Added cnaOrgId to get the org id for the individual records in the search results or when a CVE Record is Found

src/views/CVERecord/SearchResults.vue

  • Update rendering logic to check if the cnaOrgId exists in the usePartnerStore, then display the corresponding CNA long name, else display the CNA short name or "No CNA provided." if the short name does not exist.

UI
As-is:
image

To-be:
image

@athu-tran athu-tran added the bug Something isn't working label Dec 10, 2024
@athu-tran athu-tran requested a review from jdaigneau5 December 10, 2024 15:50
@athu-tran athu-tran linked an issue Dec 10, 2024 that may be closed by this pull request
@jdaigneau5 jdaigneau5 merged commit 943082d into int Dec 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

usePartnerStore?. in SearchResults.vue
3 participants