Skip to content

Commit ef52044

Browse files
xingzhang-suselsongsuse
authored andcommitted
#1154 Report column content shifting with multiple fix version separated by a comma
1 parent 540422e commit ef52044

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

admin/webapp/websrc/app/common/services/containers.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ export class ContainersService {
305305
const score = vul.score !== undefined ? vul.score : '';
306306
const score_v3 = vul.score_v3 !== undefined ? vul.score_v3 : '';
307307
const package_name = vul.package_name || '';
308-
const package_version = vul.package_version || '';
309-
const fixed_version = vul.fixed_version || '';
308+
const package_version = `"${vul.package_version || ''}"`;
309+
const fixed_version = `"${vul.fixed_version || ''}"`;
310310
const description = vul.description
311311
? `"${vul.description.replace(/"/g, '""')}"`
312312
: '';

admin/webapp/websrc/app/common/services/nodes.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class NodesService {
7373
const score = vul.score !== undefined ? vul.score : '';
7474
const score_v3 = vul.score_v3 !== undefined ? vul.score_v3 : '';
7575
const package_name = vul.package_name || '';
76-
const package_version = vul.package_version || '';
77-
const fixed_version = vul.fixed_version || '';
76+
const package_version = `"${vul.package_version || ''}"`;
77+
const fixed_version = `"${vul.fixed_version || ''}"`;
7878
const description = vul.description
7979
? `"${vul.description.replace(/"/g, '""')}"`
8080
: '';

0 commit comments

Comments
 (0)