We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e516f1f commit 4162d77Copy full SHA for 4162d77
src/lib/entryMappings.ts
@@ -169,9 +169,12 @@ export const academicTitleMapping = [
169
"prof_dr"
170
]
171
172
-export function makeTranslatedMapping(mapping: string[], translation: Record<string, string>) {
+export function makeTranslatedMapping(mapping: string[] = [], translation: Record<string, string>) {
173
let m = {};
174
175
+ console.log(mapping);
176
+ console.log(translation);
177
+
178
for (const key of mapping) {
179
m[key] = translation[key];
180
}
0 commit comments