Merged in feature/america (pull request #949)
Resolve UNK mileage from CCC.
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
useQuery,
|
||||
} from "@apollo/client";
|
||||
import { useTreatments } from "@splitsoftware/splitio-react";
|
||||
import { Col, notification, Row } from "antd";
|
||||
import { Col, notification, Row, Typography } from "antd";
|
||||
import Axios from "axios";
|
||||
import moment from "moment";
|
||||
import queryString from "query-string";
|
||||
@@ -160,6 +160,10 @@ export function JobsAvailableContainer({
|
||||
delete newJob.vehicle;
|
||||
}
|
||||
|
||||
if (typeof newJob.kmin === "string") {
|
||||
newJob.kmin = null;
|
||||
}
|
||||
|
||||
insertNewJob({
|
||||
variables: {
|
||||
job: newJob,
|
||||
|
||||
Reference in New Issue
Block a user