feature/IO-3497-Ant-Design-v5-to-v6 - Revert any apollo updates

This commit is contained in:
Dave
2026-01-12 13:55:50 -05:00
parent 2436ba0678
commit 0b2a7f07a7
7 changed files with 77 additions and 33 deletions

View File

@@ -42,6 +42,7 @@ export function JobsDetailHeaderActionsToggleProduction({
const notification = useNotification();
const [getJobDetails, { loading: jobDetailsLoading }] = useLazyQuery(GET_JOB_BY_PK_QUICK_INTAKE, {
variables: { id: job.id },
onCompleted: (data) => {
if (data?.jobs_by_pk) {
const totalHours =
@@ -203,7 +204,7 @@ export function JobsDetailHeaderActionsToggleProduction({
open={popOverVisible}
onOpenChange={setPopOverVisible}
onClick={(e) => {
getJobDetails({ variables: { id: job.id } });
getJobDetails();
e.stopPropagation();
}}
getPopupContainer={(trigger) => trigger.parentNode}