feat: show done tasks as strikethrough when searching for new tasks to relate
This commit is contained in:
parent
5b733ffa8a
commit
74a9b9ab1b
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@
|
|||
@create="createAndRelateTask"
|
||||
>
|
||||
<template #searchResult="{option: task}">
|
||||
<span v-if="typeof task !== 'string'" class="search-result">
|
||||
<span
|
||||
v-if="typeof task !== 'string'"
|
||||
class="search-result"
|
||||
:class="{'is-strikethrough': task.done}"
|
||||
>
|
||||
<span
|
||||
class="different-list"
|
||||
v-if="task.listId !== listId"
|
||||
|
|
Loading…
Reference in a new issue