Fix typo when no upcoming tasks are available

This commit is contained in:
kolaente 2020-05-29 23:12:38 +02:00
parent c3ba068dd7
commit cc51ea8c61
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -3,7 +3,7 @@
<h3 v-if="showAll">Current tasks</h3> <h3 v-if="showAll">Current tasks</h3>
<h3 v-else>Tasks from {{startDate.toLocaleDateString()}} until {{endDate.toLocaleDateString()}}</h3> <h3 v-else>Tasks from {{startDate.toLocaleDateString()}} until {{endDate.toLocaleDateString()}}</h3>
<template v-if="!taskService.loading && (!hasUndoneTasks || !tasks)"> <template v-if="!taskService.loading && (!hasUndoneTasks || !tasks)">
<h3 class="nothing">Nothing to to - Have a nice day!</h3> <h3 class="nothing">Nothing to do - Have a nice day!</h3>
<img src="/images/cool.svg" alt=""/> <img src="/images/cool.svg" alt=""/>
</template> </template>
<div class="spinner" :class="{ 'is-loading': taskService.loading}"></div> <div class="spinner" :class="{ 'is-loading': taskService.loading}"></div>