Minor random fixes

This commit is contained in:
Patrick Fic
2020-07-23 14:39:45 -07:00
parent 8a4f0dda44
commit acd8984d5b
18 changed files with 389 additions and 353 deletions

View File

@@ -21,8 +21,8 @@ export default async function RenderTemplate(templateObject, bodyshop) {
console.log("templateToUse", templateToUse);
} else {
//No template found.Uh oh.
alert("Template key does not exist.");
throw new Error("Template key does not exist.");
alert("Error: Template key does not exist.");
//throw new Error("Template key does not exist.");
}
const { data: contextData } = await client.query({