IO-884 Add special coverage policy indicators.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Card, Col, Row, Tag } from "antd";
|
||||
import { Card, Col, Row, Space, Tag } from "antd";
|
||||
import { WarningFilled } from "@ant-design/icons";
|
||||
import React, { useMemo } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
@@ -85,6 +86,14 @@ export function JobsDetailHeader({ job, bodyshop, disabled }) {
|
||||
<ProductionListColumnProductionNote record={job} />
|
||||
</DataLabel>
|
||||
)}
|
||||
{job.special_coverage_policy && (
|
||||
<Tag color="tomato">
|
||||
<Space>
|
||||
<WarningFilled />
|
||||
<span>{t("jobs.labels.specialcoveragepolicy")}</span>
|
||||
</Space>
|
||||
</Tag>
|
||||
)}
|
||||
</div>
|
||||
</Card>
|
||||
</Col>
|
||||
|
||||
Reference in New Issue
Block a user