fix: weird bug in StrainList

apparently using v-if doesn't work with the static compilation, and the page can't load correctly
This commit is contained in:
2018-09-17 18:28:18 -07:00
parent 8c45a533b0
commit 2c60ec4afc

View File

@@ -1,8 +1,8 @@
<template>
<div>
<div>
<h3 v-if="strains.length === 0" class="title is-3">No Matching Strains :(</h3>
<h3 v-if="strains.length > 0" class="title is-3">Found {{strains.length}} Strains</h3>
<h3 v-show="strains.length === 0" class="title is-3">No Matching Strains :(</h3>
<h3 v-show="strains.length > 0" class="title is-3">Found {{strains.length}} Strains</h3>
</div>
<div class="cards">