diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-09-20 00:35:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-20 00:35:56 -0400 |
commit | 07c95c56ba8873463f45b2ba027e4826a6a423ca (patch) | |
tree | f0114225c96245c5a529179bb3aa8b0feff01832 /ext | |
parent | 7a8b7eb48871553d98c3d687c48543343a2f8dff (diff) |
Fix _addFieldTemplatesBeforeEnd not being await'd (#850)
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/options.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |