fix nouns failing if base got removed

This commit is contained in:
Avris 2020-08-05 19:14:46 +02:00
parent e3403840f8
commit d08572b137
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@
<li v-for="w in noun.mascPl">{{ w }}</li> <li v-for="w in noun.mascPl">{{ w }}</li>
</ul> </ul>
<small v-if="noun.base"> <small v-if="noun.base && nouns[noun.base]">
<p><strong>Propozycja zmiany na:</strong></p> <p><strong>Propozycja zmiany na:</strong></p>
<ul class="list-singular"> <ul class="list-singular">
<li v-for="w in nouns[noun.base].masc">{{ w }}</li> <li v-for="w in nouns[noun.base].masc">{{ w }}</li>
@ -124,7 +124,7 @@
<li v-for="w in noun.femPl">{{ w }}</li> <li v-for="w in noun.femPl">{{ w }}</li>
</ul> </ul>
<small v-if="noun.base"> <small v-if="noun.base && nouns[noun.base]">
<p><strong>Propozycja zmiany na:</strong></p> <p><strong>Propozycja zmiany na:</strong></p>
<ul class="list-singular"> <ul class="list-singular">
<li v-for="w in nouns[noun.base].fem">{{ w }}</li> <li v-for="w in nouns[noun.base].fem">{{ w }}</li>
@ -142,7 +142,7 @@
<li v-for="w in noun.neutrPl">{{ w }}</li> <li v-for="w in noun.neutrPl">{{ w }}</li>
</ul> </ul>
<small v-if="noun.base"> <small v-if="noun.base && nouns[noun.base]">
<p><strong>Propozycja zmiany na:</strong></p> <p><strong>Propozycja zmiany na:</strong></p>
<ul class="list-singular"> <ul class="list-singular">
<li v-for="w in nouns[noun.base].neutr">{{ w }}</li> <li v-for="w in nouns[noun.base].neutr">{{ w }}</li>