mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-26 08:03:06 +01:00
Use status components for true/false things
This commit is contained in:
12 files changed
+60
-53
No files matched your search
@@ -5,9 +5,9 @@ import type { User } from "src/api/backend";
|
||||
import {
|
||||
EmailFormatter,
|
||||
EmptyData,
|
||||
EnabledFormatter,
|
||||
GravatarFormatter,
|
||||
RolesFormatter,
|
||||
TrueFalseFormatter,
|
||||
ValueWithDateFormatter,
|
||||
} from "src/components";
|
||||
import { TableLayout } from "src/components/Table/TableLayout";
|
||||
@@ -83,7 +83,7 @@ export default function Table({
|
||||
id: "isDisabled",
|
||||
header: intl.formatMessage({ id: "column.status" }),
|
||||
cell: (info: any) => {
|
||||
return <EnabledFormatter enabled={!info.getValue()} />;
|
||||
return <TrueFalseFormatter value={!info.getValue()} />;
|
||||
},
|
||||
}),
|
||||
columnHelper.display({
|
||||
|
||||
Reference in new issue
Block a user