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:
@@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<h3 v-if="strains.length === 0" class="title is-3">No Matching Strains :(</h3>
|
<h3 v-show="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">Found {{strains.length}} Strains</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cards">
|
<div class="cards">
|
||||||
|
|||||||
Reference in New Issue
Block a user