handle undefined options in GenericCell (#998)

This commit is contained in:
Jeff 2025-07-06 03:33:11 -07:00 committed by GitHub
parent cd2d531c54
commit b7a0b7f997
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View file

@ -236,7 +236,7 @@ const tableColumns: { [key: string]: ColDef } = {
width: 130,
},
path: {
cellRenderer: GenericCell,
cellRenderer: (params: ICellRendererParams) => GenericCell(params, { position: 'left' }),
colId: TableColumn.PATH,
headerName: i18n.t('table.column.path'),
valueGetter: (params: ValueGetterParams) => (params.data ? params.data.path : undefined),