chore: use v-else
This commit is contained in:
parent
8d13b979ec
commit
4e8a03066e
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue