From d06e3f48bccc8748bec0e7f280842a2002f6319a Mon Sep 17 00:00:00 2001 From: Chneemann Date: Tue, 26 Mar 2024 08:15:08 +0100 Subject: [PATCH] clean code --- .../components/board/task/task.component.html | 32 +++++++++---------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/src/app/components/board/task/task.component.html b/src/app/components/board/task/task.component.html index c5a8b64..a316307 100644 --- a/src/app/components/board/task/task.component.html +++ b/src/app/components/board/task/task.component.html @@ -14,26 +14,24 @@
{{ task.description }}
- -
-
- -
-
- {{ completedSubtasks() }} / {{ task.subtasksTitle.length }} Subtasks -
+ @if(task.subtasksTitle.length > 0) { +
+
+
- +
+ {{ completedSubtasks() }} / {{ task.subtasksTitle.length }} Subtasks +
+
+ }