Skip to content

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

Merged
jdaigneau5 merged 4 commits intointfrom
3314-long-name
Dec 10, 2024
Merged

Resolves #3314 fix CNA long name in Search Results page (int)#3326
jdaigneau5 merged 4 commits intointfrom
3314-long-name

Conversation

@alinh-mitre
Copy link
Copy Markdown
Collaborator

@alinh-mitre alinh-mitre 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

@alinh-mitre alinh-mitre added the bug Something isn't working label Dec 10, 2024
@alinh-mitre alinh-mitre linked an issue Dec 10, 2024 that may be closed by this pull request
@jdaigneau5 jdaigneau5 merged commit 943082d into int Dec 10, 2024
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