aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-06-21 23:14:53 +0200
committerGitHub <noreply@github.com>2024-06-21 21:14:53 +0000
commit6d890b798113c9a08670f20303c6fc8de4dc4677 (patch)
tree4a0329dc0617b55d45133b297c151e9d30c475f3 /ext/js
parentd724b403f94b7fd1ecec3f6d2e4f5a1ed805c6ec (diff)
fix dictionaryStylesMap undefined when testing anki templates (#1110)
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/pages/settings/anki-templates-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/pages/settings/anki-templates-controller.js b/ext/js/pages/settings/anki-templates-controller.js
index 7d4533e4..15566e75 100644
--- a/ext/js/pages/settings/anki-templates-controller.js
+++ b/ext/js/pages/settings/anki-templates-controller.js
@@ -278,6 +278,7 @@ export class AnkiTemplatesController {
resultOutputMode,
glossaryLayoutMode,
compactTags,
+ dictionaryStylesMap: new Map(),
}));
result = note.fields.field;
allErrors.push(...errors);