fix: fix template type errors

This commit is contained in:
Sándor Levcsák 2020-11-07 09:19:43 +02:00
parent 412fc70710
commit 1ba54bd001
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
v-for="(error, field) in errors"
:key="field"
>
{{ field }} {{ error[0] }}
{{ field }} {{ error ? error[0] : '' }}
</li>
</ul>

View File

@ -17,7 +17,7 @@
v-for="(error, field) in errors"
:key="field"
>
{{ field }} {{ error[0] }}
{{ field }} {{ error ? error[0] : '' }}
</li>
</ul>