diff --git a/img/src/bw/subtasks-hidden~hover.svg b/img/src/bw/subtasks-hidden~hover.svg deleted file mode 100644 index 3a8ed2c5..00000000 --- a/img/src/bw/subtasks-hidden~hover.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components/TaskBody.vue b/src/components/TaskBody.vue index ce58fe0a..ee2f6e1c 100644 --- a/src/components/TaskBody.vue +++ b/src/components/TaskBody.vue @@ -73,6 +73,9 @@ License along with this library. If not, see . {{ task.calendar.displayName }} +
+ +
@@ -230,6 +233,10 @@ export default { }) }, + hasHiddenSubtasks() { + return (this.hasCompletedSubtasks && this.task.hideCompletedSubtasks) || (this.filteredSubtasks.length && this.task.hideSubtasks) + }, + /** * Returns the placeholder string shown in the subtasks input field *