Fix error for kanji note data (#1530)

This commit is contained in:
toasted-nutbread 2021-03-15 20:50:18 -04:00 committed by GitHub
parent 9addd3f6d1
commit 9ad9961ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,7 @@ class AnkiNoteData {
if (definition2.type === 'term') {
this._defineFuriganaSegments(definition2);
}
if (definition2.type === 'kanji') { continue; }
for (const expression of definition2.expressions) {
this._defineFuriganaSegments(expression);
this._defineTermFrequency(expression);