diff --git a/src/config/column-generator.jsx b/src/config/column-generator.jsx index f361bbec..04bd6254 100644 --- a/src/config/column-generator.jsx +++ b/src/config/column-generator.jsx @@ -155,6 +155,8 @@ export const incidentColumn = ({ minWidth, sortType, columnType, + expression, + expressionType, }) => { const wrappedRenderer = ({ cell, value: cellValue, row, @@ -203,6 +205,8 @@ export const incidentColumn = ({ minWidth, columnType: columnType || 'incident', Filter: ColumnFilterComponent, + expression, + expressionType, }; if (sortType) { diff --git a/src/redux/incident_table/sagas.js b/src/redux/incident_table/sagas.js index dcf69ada..6f178555 100644 --- a/src/redux/incident_table/sagas.js +++ b/src/redux/incident_table/sagas.js @@ -58,11 +58,14 @@ export function* saveIncidentTableImpl(action) { tempCol.width = tempCol.minWidth; } return { + value: tempCol.value, Header: tempCol.Header, accessorPath: tempCol.accessorPath, aggregator: tempCol.aggregator, width: tempCol.width, columnType: tempCol.columnType, + expressionType: tempCol.expressionType, + expression: tempCol.expression, }; });