Reversed order of custom inputs & notes (#1268)
This commit is contained in:
parent
23127318dc
commit
878c8b8248
1 changed files with 5 additions and 4 deletions
|
@ -284,10 +284,11 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
||||||
};
|
};
|
||||||
|
|
||||||
const description =
|
const description =
|
||||||
reqBody.customInputs.reduce((str, input) => str + input.label + "\n" + input.value + "\n\n", "") +
|
reqBody.notes +
|
||||||
t("additional_notes") +
|
reqBody.customInputs.reduce(
|
||||||
":\n" +
|
(str, input) => str + "<br /><br />" + input.label + ":<br />" + input.value,
|
||||||
reqBody.notes;
|
""
|
||||||
|
);
|
||||||
|
|
||||||
const evt: CalendarEvent = {
|
const evt: CalendarEvent = {
|
||||||
type: eventType.title,
|
type: eventType.title,
|
||||||
|
|
Loading…
Reference in a new issue