merged mode: fix OBOE (sequence 0)
This commit is contained in:
parent
7913b094b7
commit
b104dfd524
@ -175,7 +175,7 @@ function dictTermsGroup(definitions, dictionaries) {
|
||||
function dictTermsMergeBySequence(definitions, mainDictionary) {
|
||||
const definitionsBySequence = {'-1': []};
|
||||
for (const definition of definitions) {
|
||||
if (mainDictionary === definition.dictionary && definition.sequence > 0) {
|
||||
if (mainDictionary === definition.dictionary && definition.sequence >= 0) {
|
||||
if (!definitionsBySequence[definition.sequence]) {
|
||||
definitionsBySequence[definition.sequence] = {
|
||||
reasons: definition.reasons,
|
||||
|
Loading…
Reference in New Issue
Block a user