fix verb select thing
This commit is contained in:
parent
fcc0cea06a
commit
75b6560625
|
@ -166,7 +166,7 @@ export function getEnglishVerb(entry: T.DictionaryEntry): string {
|
||||||
throw new Error("no english information for verb");
|
throw new Error("no english information for verb");
|
||||||
}
|
}
|
||||||
if (entry.ep) {
|
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}`;
|
return `to ${ec} ${entry.ep}`;
|
||||||
}
|
}
|
||||||
const ec = parseEc(entry.ec);
|
const ec = parseEc(entry.ec);
|
||||||
|
|
Loading…
Reference in New Issue