mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-18 20:20:40 +00:00
Fix for #1337
This commit is contained in:
parent
eb899187f7
commit
0ada132a5c
1 changed files with 2 additions and 8 deletions
|
@ -11,12 +11,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import { isUndefined } from "lodash";
|
import { isUndefined } from "lodash";
|
||||||
import React, { FunctionComponent, useCallback, useMemo } from "react";
|
import React, { FunctionComponent, useCallback, useMemo } from "react";
|
||||||
import { Column, Row } from "react-table";
|
import { Column, Row } from "react-table";
|
||||||
import {
|
import { ActionButton, PageTable, useShowModal } from "../../components";
|
||||||
ActionButton,
|
|
||||||
DateFormatter,
|
|
||||||
PageTable,
|
|
||||||
useShowModal,
|
|
||||||
} from "../../components";
|
|
||||||
import SystemLogModal from "./modal";
|
import SystemLogModal from "./modal";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
|
@ -58,10 +53,9 @@ const Table: FunctionComponent<Props> = ({ logs }) => {
|
||||||
accessor: "message",
|
accessor: "message",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: "Time",
|
Header: "Date",
|
||||||
accessor: "timestamp",
|
accessor: "timestamp",
|
||||||
className: "text-nowrap",
|
className: "text-nowrap",
|
||||||
Cell: (row) => <DateFormatter>{row.value}</DateFormatter>,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessor: "exception",
|
accessor: "exception",
|
||||||
|
|
Loading…
Reference in a new issue