diff --git a/client/src/components/Logs/index.js b/client/src/components/Logs/index.js index 86eeb0ae..a172716f 100644 --- a/client/src/components/Logs/index.js +++ b/client/src/components/Logs/index.js @@ -60,8 +60,20 @@ class Logs extends Component { accessor: 'response', Cell: (row) => { const responses = row.value; - const isFiltered = row ? row.original.reason.indexOf('Filtered') === 0 : false; + const { reason } = row.original; + const isFiltered = row ? reason.indexOf('Filtered') === 0 : false; + const parsedFilteredReason = reason.replace('Filtered', 'Filtered by '); const rule = row && row.original && row.original.rule; + + if (isFiltered) { + return ( +