From feb0941d49031b059c6a884ed4ad26a7f3218e23 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Tue, 26 Mar 2024 08:01:57 +0100 Subject: [PATCH] clean code --- src/app/components/board/board.component.html | 73 ++++++++----------- 1 file changed, 32 insertions(+), 41 deletions(-) diff --git a/src/app/components/board/board.component.html b/src/app/components/board/board.component.html index 6e97df2..37f3c97 100644 --- a/src/app/components/board/board.component.html +++ b/src/app/components/board/board.component.html @@ -32,16 +32,14 @@ >add
- - - - - -
No tasks
-
+ @if(getTask('todo').length > 0) { + + } @else { +
No tasks
+ }
add
- - - - - -
No tasks
-
+ @if(getTask('inprogress').length > 0) { + + } @else { +
No tasks
+ }
add
- - - - - -
No tasks
-
+ @if(getTask('awaitfeedback').length > 0) { + + } @else { +
No tasks
+ }
add
- - - - -
No tasks
-
+ @if(getTask('todo').length > 0) { + + } @else { +
No tasks
+ }