Clear Errors & Update CI
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { PrinterFilled } from "@ant-design/icons";
|
import { PrinterFilled } from "@ant-design/icons";
|
||||||
import { useQuery } from "@apollo/client";
|
import { useQuery } from "@apollo/client";
|
||||||
import { Button, Col, Drawer, Grid, PageHeader, Row, Tag, Tabs } from "antd";
|
import { Button, Drawer, Grid, PageHeader, Tabs, Tag } from "antd";
|
||||||
import queryString from "query-string";
|
import queryString from "query-string";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
@@ -9,26 +9,26 @@ import { Link, useHistory, useLocation } from "react-router-dom";
|
|||||||
import { GET_JOB_BY_PK } from "../../graphql/jobs.queries";
|
import { GET_JOB_BY_PK } from "../../graphql/jobs.queries";
|
||||||
import { setModalContext } from "../../redux/modals/modals.actions";
|
import { setModalContext } from "../../redux/modals/modals.actions";
|
||||||
import AlertComponent from "../alert/alert.component";
|
import AlertComponent from "../alert/alert.component";
|
||||||
import LoadingSpinner from "../loading-spinner/loading-spinner.component";
|
|
||||||
import OwnerTagPopoverComponent from "../owner-tag-popover/owner-tag-popover.component";
|
|
||||||
import VehicleTagPopoverComponent from "../vehicle-tag-popover/vehicle-tag-popover.component";
|
|
||||||
import JobLinesContainer from "../job-detail-lines/job-lines.container";
|
import JobLinesContainer from "../job-detail-lines/job-lines.container";
|
||||||
import JobsDocumentsGalleryContainer from "../jobs-documents-gallery/jobs-documents-gallery.container";
|
import JobsDocumentsGalleryContainer from "../jobs-documents-gallery/jobs-documents-gallery.container";
|
||||||
import JobNotesContainer from "../jobs-notes/jobs-notes.container";
|
import JobNotesContainer from "../jobs-notes/jobs-notes.container";
|
||||||
|
import LoadingSpinner from "../loading-spinner/loading-spinner.component";
|
||||||
|
import OwnerTagPopoverComponent from "../owner-tag-popover/owner-tag-popover.component";
|
||||||
|
import VehicleTagPopoverComponent from "../vehicle-tag-popover/vehicle-tag-popover.component";
|
||||||
|
|
||||||
const mapDispatchToProps = (dispatch) => ({
|
const mapDispatchToProps = (dispatch) => ({
|
||||||
setPrintCenterContext: (context) =>
|
setPrintCenterContext: (context) =>
|
||||||
dispatch(setModalContext({ context: context, modal: "printCenter" })),
|
dispatch(setModalContext({ context: context, modal: "printCenter" })),
|
||||||
});
|
});
|
||||||
|
|
||||||
const colBreakPoints = {
|
// const colBreakPoints = {
|
||||||
xs: {
|
// xs: {
|
||||||
span: 24,
|
// span: 24,
|
||||||
},
|
// },
|
||||||
sm: {
|
// sm: {
|
||||||
span: 8,
|
// span: 8,
|
||||||
},
|
// },
|
||||||
};
|
// };
|
||||||
|
|
||||||
export function JobDetailCards({ setPrintCenterContext }) {
|
export function JobDetailCards({ setPrintCenterContext }) {
|
||||||
const selectedBreakpoint = Object.entries(Grid.useBreakpoint())
|
const selectedBreakpoint = Object.entries(Grid.useBreakpoint())
|
||||||
|
|||||||
@@ -378,13 +378,3 @@ export const TemplateList = (type, context) => {
|
|||||||
: {}),
|
: {}),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
function getComponentPath(formItem) {
|
|
||||||
const { type } = formItem;
|
|
||||||
switch (type) {
|
|
||||||
case "checkbox":
|
|
||||||
return "/components/checkbox";
|
|
||||||
default:
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user