header profile image bug fixed
This commit was merged in pull request #119.
This commit is contained in:
@@ -17,9 +17,11 @@ export default function SystemReportTable() {
|
||||
}
|
||||
return getSystemReports(reqData)
|
||||
},
|
||||
staleTime: 0
|
||||
})
|
||||
|
||||
console.log('DATA', data?.data)
|
||||
// console.log('DATA', data?.data)
|
||||
const systemReportData = data?.data?.system || []
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -60,18 +62,21 @@ export default function SystemReportTable() {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Sun, 15 Feb 2026 10:52:01 GMT</td>
|
||||
<td>Systems Status Checks</td>
|
||||
<td>processing</td>
|
||||
<td>Sun, 15 Feb 2026 09:26:02 GMT</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Sun, 15 Feb 2026 10:52:01 GMT</td>
|
||||
<td>Systems Status Checks</td>
|
||||
<td>processing</td>
|
||||
<td>Sun, 15 Feb 2026 09:26:02 GMT</td>
|
||||
</tr>
|
||||
{systemReportData.length > 0 ? systemReportData.map((item, index) => {
|
||||
return (
|
||||
<tr key={index}>
|
||||
<td>{item?.added}</td>
|
||||
<td>{item?.action_name}</td>
|
||||
<td>{item?.status_description}</td>
|
||||
<td>{item?.updated}</td>
|
||||
</tr>
|
||||
)
|
||||
})
|
||||
:
|
||||
<tr>
|
||||
<td colSpan={4} className='text-center'>No data found</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user