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