chore: use v-else

This commit is contained in:
kolaente 2022-02-05 20:17:34 +01:00
parent 8d13b979ec
commit 4e8a03066e
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -17,7 +17,6 @@
<LlamaCool class="mt-5"/> <LlamaCool class="mt-5"/>
</template> </template>
<div v-if="!hasTasks" :class="{ 'is-loading': loading}" class="spinner"></div>
<card <card
v-if="hasTasks" v-if="hasTasks"
:padding="false" :padding="false"
@ -35,6 +34,7 @@
@taskUpdated="updateTasks"/> @taskUpdated="updateTasks"/>
</div> </div>
</card> </card>
<div v-else :class="{ 'is-loading': loading}" class="spinner"></div>
</div> </div>
</template> </template>
<script> <script>