diff --git a/client/src/components/jobs-available-table/jobs-available-table.container.jsx b/client/src/components/jobs-available-table/jobs-available-table.container.jsx index 0a8241cd0..95b9d888b 100644 --- a/client/src/components/jobs-available-table/jobs-available-table.container.jsx +++ b/client/src/components/jobs-available-table/jobs-available-table.container.jsx @@ -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,