date style fixed

This commit is contained in:
victorAnumudu
2025-01-12 05:27:34 +01:00
parent 656e3fd24a
commit 4d71547c94
+4 -3
View File
@@ -83,8 +83,9 @@ export default function RecentActions() {
<tr>
<th style={{width: '30px'}}>#.</th>
<th>Description</th>
<th style={{width: '100px'}}>Date</th>
<th style={{width: '100px'}}>Status</th>
{/* <th style={{width: '100px'}}>Date</th> */}
<th>Date</th>
<th>Status</th>
</tr>
</thead>
<tbody className="text-muted">
@@ -94,7 +95,7 @@ export default function RecentActions() {
<tr key={index}>
<td>{action?.no}</td>
<td>{action?.description}</td>
<td>{action?.date}</td>
<td>{new Date(action?.date).toDateString()}</td>
<td>
<label className={`badge mb-0 ${bgColor}`}>{action?.status}</label>
</td>