Skip to content

Commit

Permalink
Code Review Feedback
Browse files Browse the repository at this point in the history
* Remove disabling of filters on compliance reports
  • Loading branch information
dhaselhan committed Jan 7, 2025
1 parent 406d5d3 commit 23bb835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ describe('UserActivity', () => {
// Optionally check the logic of getRowId
// This is a unit-style check; you can do something like:
const mockParams = {
data: { transactionType: 'AdminAdjustment', transactionId: '123' }
data: {
transactionType: 'AdminAdjustment',
transactionId: '123',
actionTaken: 'CREATE'
}
}
expect(gridProps.getRowId(mockParams)).toBe('adminadjustment-123')
expect(gridProps.getRowId(mockParams)).toBe('CREATE-AdminAdjustment-123')

// 5) defaultColDef
expect(gridProps.defaultColDef).toBeDefined()
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/views/ComplianceReports/ComplianceReports.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ export const ComplianceReports = () => {

const defaultColDef = useMemo(
() => ({
floatingFilter: false,
filter: false,
cellRenderer: LinkRenderer,
cellRendererParams: {
url: (data) =>
Expand Down

0 comments on commit 23bb835

Please sign in to comment.