updated admin logs // table sorted in reversed
This commit is contained in:
parent
ffe93a3257
commit
31e840c88e
1 changed files with 21 additions and 16 deletions
|
@ -208,12 +208,17 @@ const AdminLogPage = () => {
|
|||
</TableRow>
|
||||
</TableHeader>
|
||||
<TableBody>
|
||||
{logs.map((log) => (
|
||||
{logs
|
||||
.slice()
|
||||
.reverse()
|
||||
.map((log) => (
|
||||
<TableRow key={log._id}>
|
||||
<TableCell className="border-b px-4 py-2">
|
||||
{log.version}
|
||||
</TableCell>
|
||||
<TableCell className="border-b px-4 py-2">{log.date}</TableCell>
|
||||
<TableCell className="border-b px-4 py-2">
|
||||
{log.date}
|
||||
</TableCell>
|
||||
<TableCell className="border-b px-4 py-2">
|
||||
<Button
|
||||
variant={"destructive"}
|
||||
|
|
Loading…
Reference in a new issue