fix verb select thing

This commit is contained in:
lingdocs 2022-03-25 15:15:13 +05:00
parent fcc0cea06a
commit 75b6560625
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ export function getEnglishVerb(entry: T.DictionaryEntry): string {
throw new Error("no english information for verb");
}
if (entry.ep) {
const ec = entry.ec.includes(",") ? parseEc(entry.ec) : entry.ec;
const ec = entry.ec.includes(",") ? parseEc(entry.ec)[0] : entry.ec;
return `to ${ec} ${entry.ep}`;
}
const ec = parseEc(entry.ec);