Merged in feature/IO-2575-Production-Special-Coverage (pull request #1328)
Bring in line with other components
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
import {
|
import { BranchesOutlined, PauseCircleOutlined } from "@ant-design/icons";
|
||||||
BorderOutlined,
|
import { Checkbox, Space, Tooltip } from "antd";
|
||||||
BranchesOutlined,
|
|
||||||
CheckSquareOutlined,
|
|
||||||
PauseCircleOutlined,
|
|
||||||
} from "@ant-design/icons";
|
|
||||||
import { Space, Tooltip } from "antd";
|
|
||||||
import i18n from "i18next";
|
import i18n from "i18next";
|
||||||
import moment from "moment";
|
import moment from "moment";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
@@ -312,12 +307,9 @@ const r = ({ technician, state, activeStatuses, data, bodyshop }) => {
|
|||||||
],
|
],
|
||||||
onFilter: (value, record) =>
|
onFilter: (value, record) =>
|
||||||
value.includes(record.special_coverage_policy),
|
value.includes(record.special_coverage_policy),
|
||||||
render: (text, record) =>
|
render: (text, record) => (
|
||||||
record.special_coverage_policy === true ? (
|
<Checkbox disabled checked={record.special_coverage_policy} />
|
||||||
<CheckSquareOutlined />
|
),
|
||||||
) : (
|
|
||||||
<BorderOutlined />
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user