Skip to content

Commit

Permalink
Merge branch 'main' into CA-615-refactor-breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Dec 20, 2024
2 parents 73ff076 + 21b8750 commit 6bc68fb
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 @@ -123,7 +123,7 @@ const APPROVER_FILTER: ListViewFilterConfig = {

const RISK_ASSESSMENT_FILTER: ListViewFilterConfig = {
component: SelectFilter,
getColumn: (row) => row.risk_assessment.name,
getColumn: (row) => row.risk_assessment?.name,
extraProps: {
defaultOptionName: 'riskAssessment'
}
Expand Down Expand Up @@ -257,7 +257,7 @@ const STAKEHOLDER_FILTER: ListViewFilterConfig = {

const FRAMEWORK_FILTER: ListViewFilterConfig = {
component: SelectFilter,
getColumn: (row) => row.framework.ref_id,
getColumn: (row) => row.framework?.ref_id,
extraProps: {
defaultOptionName: 'framework' // Make translations
}
Expand Down

0 comments on commit 6bc68fb

Please sign in to comment.