Skip to content

Commit 383fd0e

Browse files
committed
partners: change boolean check to check for undefined in getOrganizationName()
1 parent 6efb79c commit 383fd0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/stores/partners.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ export const usePartnerStore = defineStore('partner', {
128128

129129
// The displayed name is based on the assigner.
130130

131-
return this.uuid2LongNameMap[assignerUUID]
132-
|| (assignerNameLower === this.cveProgramShortName)
131+
return this.uuid2LongNameMap[assignerUUID] !== undefined ?
132+
this.uuid2LongNameMap[assignerUUID]
133+
: (assignerNameLower === this.cveProgramShortName)
133134
? 'CVE Program' : this.short2FullNameMap.get(assignerNameLower)
134135
|| this.short2DisplayName(assignerName);
135136
},

0 commit comments

Comments
 (0)