From 6d890b798113c9a08670f20303c6fc8de4dc4677 Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Fri, 21 Jun 2024 23:14:53 +0200 Subject: fix dictionaryStylesMap undefined when testing anki templates (#1110) --- ext/js/pages/settings/anki-templates-controller.js | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3