feat: show done tasks as strikethrough when searching for new tasks to relate

renovate/axios-1.x
kolaente 2022-10-06 22:41:48 +02:00
parent 5b733ffa8a
commit 74a9b9ab1b
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 1 deletions

View File

@ -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"