Skip to content

Commit

Permalink
Include logdata object
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Apr 11, 2024
1 parent 058e225 commit 6f138e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/cipp/Logs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { CippDatatable, cellDateFormatter, CellTip } from 'src/components/tables
import { useNavigate } from 'react-router-dom'
import DatePicker from 'react-datepicker'
import 'react-datepicker/dist/react-datepicker.css'
import { cellGenericFormatter } from 'src/components/tables/CellGenericFormat'
const reverseSort = (rowA, rowB) => {
const a = rowA.DateTime.toLowerCase()
const b = rowB.DateTime.toLowerCase()
Expand Down Expand Up @@ -97,6 +98,11 @@ const columns = [
minWidth: '145px',
maxWidth: '145px',
},
{
name: 'Data',
selector: (row) => row?.LogData,
cell: cellGenericFormatter(),
},
]

const Logs = () => {
Expand Down

0 comments on commit 6f138e9

Please sign in to comment.