fix interchangable forms display

This commit is contained in:
Avris 2021-03-06 19:54:40 +01:00
parent e19e0ded6c
commit 9dbc8c3e84
2 changed files with 2 additions and 2 deletions

View File

@ -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">

View File

@ -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])
}
}