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

usePartnerStore?. in SearchResults.vue #3314

Closed
ElectricNroff opened this issue Dec 6, 2024 · 0 comments · Fixed by #3325 or #3326
Closed

usePartnerStore?. in SearchResults.vue #3314

ElectricNroff opened this issue Dec 6, 2024 · 0 comments · Fixed by #3325 or #3326
Assignees

Comments

@ElectricNroff
Copy link

import { usePartnerStore } from '@/stores/partners';

export const usePartnerStore = defineStore('partner', {

<p><span>CNA: </span>{{ usePartnerStore?.[cveListSearchStore.recordData.cna] || cveListSearchStore.recordData.cna }}</p>

<p><span>CNA: </span>{{ usePartnerStore?.[result.cna] || result.cna }}</p>

I think usePartnerStore?.[cveListSearchStore.recordData.cna] and usePartnerStore?.[result.cna] are undefined. The code might need to call the usePartnerStore function, and also use partnerShortLongNameMap to find the long names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment