Skip to content

Fix no content audit bug

Hello, I found the bug in the audit. No content is shown when auditing channels or notifications. You can test in on dev or locally. For solving it we just need to add audit to the state mapping https://gitlab.cern.ch/push-notifications/web-portal/-/blob/master/src/admin/components/AuditDisplay.jsx#L132

auditData: state.admin.audit.auditData,

This problem appeared when we combined the reducers audit and serviceStatus, so a new level (audit) on the admin Redux state appeared.