fix: related done tasks strikethrough

This commit is contained in:
kolaente 2022-03-22 23:06:36 +01:00
parent 8f650316dc
commit 87ac22b448
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -83,7 +83,7 @@
<span class="title">{{ rts.title }}</span> <span class="title">{{ rts.title }}</span>
<div class="tasks"> <div class="tasks">
<div :key="t.id" class="task" v-for="t in rts.tasks"> <div :key="t.id" class="task" v-for="t in rts.tasks">
<router-link :to="{ name: $route.name, params: { id: t.id } }" :class="{ 'done': t.done}"> <router-link :to="{ name: $route.name, params: { id: t.id } }" :class="{ 'is-strikethrough': t.done}">
<span <span
class="different-list" class="different-list"
v-if="t.listId !== listId" v-if="t.listId !== listId"