Fix missing details
This commit is contained in:
parent
b1659522b3
commit
baf0325f62
@ -655,7 +655,7 @@ const ankiTemplatesValidateGetDefinition = (() => {
|
|||||||
|
|
||||||
return async (text, optionsContext) => {
|
return async (text, optionsContext) => {
|
||||||
if (cachedText !== text) {
|
if (cachedText !== text) {
|
||||||
const {definitions} = await apiTermsFind(text, optionsContext);
|
const {definitions} = await apiTermsFind(text, {}, optionsContext);
|
||||||
if (definitions.length === 0) { return null; }
|
if (definitions.length === 0) { return null; }
|
||||||
|
|
||||||
cachedValue = definitions[0];
|
cachedValue = definitions[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user