In progress changes for Kanban Board and updated schema migrations. Performed some cleanup.

This commit is contained in:
Patrick Fic
2019-12-17 16:21:17 -08:00
parent 03d99a27c3
commit c5ae3224ba
27 changed files with 896 additions and 89 deletions

View File

@@ -1,11 +1,10 @@
import React from "react";
import { useSubscription } from "@apollo/react-hooks";
import AlertComponent from "../../components/alert/alert.component";
import { Col } from "antd";
import { SUBSCRIPTION_ALL_OPEN_JOBS } from "../../graphql/jobs.queries";
import JobsList from "../../components/jobs-list/jobs-list.component";
import Test from "./test";
export default function JobsPage() {
const { loading, error, data } = useSubscription(SUBSCRIPTION_ALL_OPEN_JOBS, {
@@ -15,9 +14,8 @@ export default function JobsPage() {
if (error) return <AlertComponent message={error.message} />;
return (
<div>
<Col span={22} offset={1}>
<JobsList loading={loading} jobs={data ? data.jobs : null} />
<Test />
</div>
</Col>
);
}