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