even more updates.

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2023-12-15 12:43:11 -05:00
parent 87391ff06a
commit 0514fbe89d
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ export default function LoadingSpinner({ loading = true, message, ...props }) {
alignContent: "center"
}}
// TODO: Client Update - if anything funky happens check this out
{...props.children ? { tip: message ? message : null } : {}}
{...(props.children ? { tip: message ? message : null } : {})}
delay={200}
// TODO: Client Update - tip only works when there are actually children, and this component is used in a lot of places where there are no children
>

View File

@@ -68,7 +68,7 @@ export function ScheduleJobModalComponent({
if (values.start && !values.scheduled_completion)
form.setFieldsValue({
scheduled_completion: dayjs(values.start).businessAdd(
scheduled_completion: dayjs(values.start).businessDaysAdd(
totalHours / bodyshop.target_touchtime,
"day"
),