Leafcutter / Link build updates

This commit is contained in:
Darren Clarke 2023-07-18 08:16:16 +00:00 committed by GitHub
parent de5106e9e8
commit 6e6cc22d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 491 additions and 29 deletions

View file

@ -3,7 +3,7 @@
import { FC } from "react";
import useSWR from "swr";
import { TicketList } from "./TicketList";
import { getTicketsByOverviewQuery } from "app/_graphql/getTicketsByOverviewQuery";
import { getTicketsByOverviewQuery } from "../../../../_graphql/getTicketsByOverviewQuery";
type ZammadOverviewProps = {
name: string;
@ -16,7 +16,7 @@ export const ZammadOverview: FC<ZammadOverviewProps> = ({ name, id }) => {
document: getTicketsByOverviewQuery,
variables: { overviewId: `gid://zammad/Overview/${id}` },
},
{ refreshInterval: 10000 }
{ refreshInterval: 10000 },
);
const shouldRender = !ticketError && ticketData;