From 7f0f5c2aa3363393679a7b02dcd4c67755550114 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 16 Jan 2026 14:23:04 -0500 Subject: [PATCH] feature/IO-3499-React-19: Fix issue skylar found --- .../shop-employees/shop-employees-add-vacation.component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/shop-employees/shop-employees-add-vacation.component.jsx b/client/src/components/shop-employees/shop-employees-add-vacation.component.jsx index e0664d874..29b7ad09f 100644 --- a/client/src/components/shop-employees/shop-employees-add-vacation.component.jsx +++ b/client/src/components/shop-employees/shop-employees-add-vacation.component.jsx @@ -24,7 +24,7 @@ export default function ShopEmployeeAddVacation({ employee }) { let result; result = await insertVacation({ - variables: { vacation: { ...values, employeeid: employee.id } }, + variables: { vacation: { ...values, employeeid: employee?.id } }, update(cache, { data }) { cache.modify({ id: cache.identify({ id: employee.id, __typename: "employees" }),