You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-05 15:30:37 +03:00
Use status components for true/false things
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
CertificateFormatter,
|
||||
EmptyData,
|
||||
GravatarFormatter,
|
||||
StatusFormatter,
|
||||
TrueFalseFormatter,
|
||||
ValueWithDateFormatter,
|
||||
} from "src/components";
|
||||
import { TableLayout } from "src/components/Table/TableLayout";
|
||||
@@ -83,7 +83,7 @@ export default function Table({ data, isFetching, isFiltered, onEdit, onDelete,
|
||||
id: "enabled",
|
||||
header: intl.formatMessage({ id: "column.status" }),
|
||||
cell: (info: any) => {
|
||||
return <StatusFormatter enabled={info.getValue()} />;
|
||||
return <TrueFalseFormatter value={info.getValue()} trueLabel="online" falseLabel="offline" />;
|
||||
},
|
||||
}),
|
||||
columnHelper.display({
|
||||
|
||||
Reference in New Issue
Block a user