From 07c95c56ba8873463f45b2ba027e4826a6a423ca Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 20 Sep 2020 00:35:56 -0400 Subject: Fix _addFieldTemplatesBeforeEnd not being await'd (#850) --- ext/bg/js/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/bg/js') diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js index ccb1f256..fda6026d 100644 --- a/ext/bg/js/options.js +++ b/ext/bg/js/options.js @@ -380,7 +380,7 @@ class OptionsUtil { if (addition === null) { addition = await this._fetchAsset(additionSourceUrl); } - profileOptions.anki.fieldTemplates = this._addFieldTemplatesBeforeEnd(fieldTemplates, addition); + profileOptions.anki.fieldTemplates = await this._addFieldTemplatesBeforeEnd(fieldTemplates, addition); } } } -- cgit v1.2.3