fix interchangable forms display
This commit is contained in:
parent
e19e0ded6c
commit
9dbc8c3e84
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<span>
|
||||
<span v-for="part in example[(example.isHonorific ? pronoun.isPluralHonorific(counter) : pronoun.isPlural(counter)) ? 'pluralParts' : 'singularParts']">
|
||||
<strong v-if="part.variable"><Spelling>{{pronoun.getMorpheme(part.str, counter)}}</Spelling></strong>
|
||||
<strong v-if="part.variable"><Spelling :text="pronoun.getMorpheme(part.str, counter)"/></strong>
|
||||
<span v-else><Spelling>{{part.str}}</Spelling></span>
|
||||
</span>
|
||||
<small v-if="link">
|
||||
|
|
|
@ -50,7 +50,7 @@ export const buildPronoun = (pronouns, path) => {
|
|||
for (let option of pronounStr[0].split('&')) {
|
||||
if (!base) {
|
||||
base = pronounsWithAliases[option]
|
||||
} else {
|
||||
} else if (pronounsWithAliases[option]) {
|
||||
base = base.merge(pronounsWithAliases[option])
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue