Modified how template list is generated to be a function to allow checking whether the templates can be printed.
This commit is contained in:
@@ -140,7 +140,7 @@ export function ScheduleJobModalContainer({
|
||||
replyTo: bodyshop.email,
|
||||
},
|
||||
template: {
|
||||
name: TemplateList.appointment_confirmation.key,
|
||||
name: TemplateList().appointment_confirmation.key,
|
||||
variables: {
|
||||
id: appt.data.insert_appointments.returning[0].id,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user