date style fixed
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user