Fix _addFieldTemplatesBeforeEnd not being await'd (#850)
This commit is contained in:
parent
7a8b7eb488
commit
07c95c56ba
@ -380,7 +380,7 @@ class OptionsUtil {
|
|||||||
if (addition === null) {
|
if (addition === null) {
|
||||||
addition = await this._fetchAsset(additionSourceUrl);
|
addition = await this._fetchAsset(additionSourceUrl);
|
||||||
}
|
}
|
||||||
profileOptions.anki.fieldTemplates = this._addFieldTemplatesBeforeEnd(fieldTemplates, addition);
|
profileOptions.anki.fieldTemplates = await this._addFieldTemplatesBeforeEnd(fieldTemplates, addition);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user