Fix incorrect frequency field being used (#1059)
This commit is contained in:
parent
de299c64ae
commit
496af0b5f2
@ -807,7 +807,7 @@ class Translator {
|
|||||||
let frequency = data;
|
let frequency = data;
|
||||||
if (data !== null && typeof data === 'object') {
|
if (data !== null && typeof data === 'object') {
|
||||||
if (data.reading !== reading) { return null; }
|
if (data.reading !== reading) { return null; }
|
||||||
frequency = data.frequency2;
|
frequency = data.frequency;
|
||||||
}
|
}
|
||||||
return {expression, reading, dictionary, frequency};
|
return {expression, reading, dictionary, frequency};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user