From 5e13d2bf3ef18ac28e40021caecc351776ebe9b7 Mon Sep 17 00:00:00 2001 From: jfrye122 Date: Wed, 17 May 2023 13:57:10 -0400 Subject: [PATCH] added missing return when missing values --- components/time-ticket/screen-time-ticket-clockoff.component.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/time-ticket/screen-time-ticket-clockoff.component.jsx b/components/time-ticket/screen-time-ticket-clockoff.component.jsx index 0120323..e9623ca 100644 --- a/components/time-ticket/screen-time-ticket-clockoff.component.jsx +++ b/components/time-ticket/screen-time-ticket-clockoff.component.jsx @@ -65,6 +65,7 @@ export function TimeTicketClockOff({ } else { console.log("missing values!"); setError({ message: "Please make sure all fields have a value." }); + return; } const tempcallobj = { variables: {