Simplify spread
This commit is contained in:
parent
bc94970a46
commit
5587116bae
@ -125,8 +125,7 @@ function dictTermsCompressTags(definitions) {
|
||||
function dictTermsGroup(definitions, dictionaries) {
|
||||
const groups = new Map();
|
||||
for (const definition of definitions) {
|
||||
const key = [definition.source, definition.expression];
|
||||
key.push(...definition.reasons);
|
||||
const key = [definition.source, definition.expression, ...definition.reasons];
|
||||
if (definition.reading) {
|
||||
key.push(definition.reading);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user