diff --git a/src/components/QueryLog.js b/src/components/QueryLog.js index 2b18459..ab47108 100644 --- a/src/components/QueryLog.js +++ b/src/components/QueryLog.js @@ -129,6 +129,20 @@ const columns = [ { Header: "Action", minWidth: 80, - filterable: false + filterable: false, + Cell: data => { + if([1, 4, 5].includes(data.row.status)) + return ( + + ); + if([2, 3].includes(data.row.status)) + return ( + + ); + } } ];