now displays correct salutation instead of undefined
This commit is contained in:
parent
07b7477940
commit
2b15580e3c
|
|
@ -59,13 +59,13 @@ const TEMPLATE_EST = "template-est.tex";
|
||||||
const TEMPLATE_EST_PATH = `./templates/${TEMPLATE_EST}`;
|
const TEMPLATE_EST_PATH = `./templates/${TEMPLATE_EST}`;
|
||||||
|
|
||||||
const SALUTATION: Record<string, string> = {
|
const SALUTATION: Record<string, string> = {
|
||||||
m: "Herrn",
|
M: "Herrn",
|
||||||
w: "Frau"
|
W: "Frau"
|
||||||
}
|
}
|
||||||
|
|
||||||
const GENDER_END: Record<string, string> = {
|
const GENDER_END: Record<string, string> = {
|
||||||
m: "",
|
M: "",
|
||||||
w: "in",
|
W: "in",
|
||||||
}
|
}
|
||||||
|
|
||||||
// this may be a race condition???
|
// this may be a race condition???
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue