fix check

This commit is contained in:
Adrian Thompson
2020-09-01 10:56:17 +02:00
parent c38f5c8819
commit 99df5bb8c1

View File

@@ -4,7 +4,7 @@
Alle foreslåtte viner
</h1>
<section class="requested-wines-container">
<p v-if="this.wines.length <= 0">Ingen har foreslått noe enda!</p>
<p v-if="this.wines == undefined || this.wines.length <= 0">Ingen har foreslått noe enda!</p>
<RequestedWineCard v-for="requestedEl in wines" :key="requestedEl.id" :requestedElement="requestedEl" @deletedOne="refreshData" />
</section>
</main>