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"/>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue