Skip to content

Commit

Permalink
fix: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Axxiar committed Jan 28, 2025
1 parent 93a3080 commit b0dc534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/lib/utils/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const RESIDUAL_LEVEL_FILTER: ListViewFilterConfig = {

const CURRENT_CRITICALITY_FILTER: ListViewFilterConfig = {
component: SelectFilter,
getColumn: (row) => row.current_criticality?.toString(),
getColumn: (row) => row.current_criticality.toString(),
extraProps: {
defaultOptionName: 'current_criticality'
},
Expand All @@ -257,7 +257,7 @@ const CURRENT_CRITICALITY_FILTER: ListViewFilterConfig = {

const RESIDUAL_CRITICALITY_FILTER: ListViewFilterConfig = {
component: SelectFilter,
getColumn: (row) => row.residual_criticality?.toString(),
getColumn: (row) => row.residual_criticality.toString(),
extraProps: {
defaultOptionName: 'residual_criticality'
},
Expand Down

0 comments on commit b0dc534

Please sign in to comment.