Bring in line with other components
Signed-off-by: Allan Carr <allan.carr@thinkimex.com>
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
import {
|
||||
BorderOutlined,
|
||||
BranchesOutlined,
|
||||
CheckSquareOutlined,
|
||||
PauseCircleOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import { Space, Tooltip } from "antd";
|
||||
import { BranchesOutlined, PauseCircleOutlined } from "@ant-design/icons";
|
||||
import { Checkbox, Space, Tooltip } from "antd";
|
||||
import i18n from "i18next";
|
||||
import moment from "moment";
|
||||
import { Link } from "react-router-dom";
|
||||
@@ -312,12 +307,9 @@ const r = ({ technician, state, activeStatuses, data, bodyshop }) => {
|
||||
],
|
||||
onFilter: (value, record) =>
|
||||
value.includes(record.special_coverage_policy),
|
||||
render: (text, record) =>
|
||||
record.special_coverage_policy === true ? (
|
||||
<CheckSquareOutlined />
|
||||
) : (
|
||||
<BorderOutlined />
|
||||
),
|
||||
render: (text, record) => (
|
||||
<Checkbox disabled checked={record.special_coverage_policy} />
|
||||
),
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user