File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/views/ReportView/components/KbMatches Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ const coalesceEntries = <T extends KbMatchedStatementType[]>(entries: T): Coales
101
101
Object . entries ( entry ) . forEach ( ( [ key , value ] ) => {
102
102
if ( Array . isArray ( buckets [ bucketKey ] [ key ] ) ) {
103
103
if ( key === 'kbMatches' && Array . isArray ( value ) ) {
104
- const kbMatchesIdents = buckets [ bucketKey ] [ key ] . map ( ( kbM ) => kbM . kbVariantId ) . join ( ) ;
105
- const coalescedKbMatchesIdents = value . map ( ( kbM ) => kbM . kbVariantId ) . join ( ) ;
104
+ const kbMatchesIdents = buckets [ bucketKey ] [ key ] . map ( ( kbM ) => kbM . ident ) . join ( ) ;
105
+ const coalescedKbMatchesIdents = value . map ( ( kbM ) => kbM . ident ) . join ( ) ;
106
106
if ( kbMatchesIdents !== coalescedKbMatchesIdents ) {
107
107
buckets [ bucketKey ] [ key ] = buckets [ bucketKey ] [ key ] . concat ( value ) ;
108
108
}
You can’t perform that action at this time.
0 commit comments