@@ -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
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user