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

@@ -66,6 +66,7 @@ export function ScheduleEventComponent({
const [form] = Form.useForm();
const [popOverVisible, setPopOverVisible] = useState(false);
const [getJobDetails] = useLazyQuery(GET_JOB_BY_PK_QUICK_INTAKE, {
variables: { id: event.job?.id },
onCompleted: (data) => {
if (data?.jobs_by_pk) {
const totalHours =
@@ -408,7 +409,7 @@ export function ScheduleEventComponent({
onClick={(e) => {
if (event.job?.id) {
e.stopPropagation();
getJobDetails({ variables: { id: event.job.id } });
getJobDetails();
}
}}
getPopupContainer={(trigger) => trigger.parentNode}