Fix list view breaking on undefined rating value (#32)
This commit is contained in:
parent
a9cfcaeda6
commit
7ae3d9d99a
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ const tableColumns: { [key: string]: ColDef } = {
|
|||
width: 50,
|
||||
},
|
||||
userRating: {
|
||||
cellClass: (params) => (params.value.userRating ? 'visible ag-cell-rating' : 'ag-cell-rating'),
|
||||
cellClass: (params) => (params.value?.userRating ? 'visible ag-cell-rating' : 'ag-cell-rating'),
|
||||
cellRenderer: RatingCell,
|
||||
colId: TableColumn.USER_RATING,
|
||||
field: 'userRating',
|
||||
|
|
Reference in a new issue