diff --git a/pkg/sbombastic-image-vulnerability-scanner/config/table-headers.ts b/pkg/sbombastic-image-vulnerability-scanner/config/table-headers.ts index d89264c..0570030 100644 --- a/pkg/sbombastic-image-vulnerability-scanner/config/table-headers.ts +++ b/pkg/sbombastic-image-vulnerability-scanner/config/table-headers.ts @@ -44,14 +44,10 @@ export const REGISTRY_SCAN_TABLE = [ { name: "progress", labelKey: "imageScanner.registries.registrytable.header.progress", - getValue: (row: any) => { - return { - progress: row.progress, - error: row.error, - }; - }, + getValue: (row: any) => row, formatter: "ProgressCell", sort: "progress", + width: 120, }, { name: "previousScan", @@ -59,7 +55,7 @@ export const REGISTRY_SCAN_TABLE = [ getValue: (row: any) => row, formatter: "PreviousScanCell", sort: "previousScan", - width: 150, + width: 200, }, ]; diff --git a/pkg/sbombastic-image-vulnerability-scanner/formatters/PreviousScanCell.vue b/pkg/sbombastic-image-vulnerability-scanner/formatters/PreviousScanCell.vue index cb5decc..9837fba 100644 --- a/pkg/sbombastic-image-vulnerability-scanner/formatters/PreviousScanCell.vue +++ b/pkg/sbombastic-image-vulnerability-scanner/formatters/PreviousScanCell.vue @@ -1,6 +1,10 @@