Current state of project : Section 2 - Chapter 49.
All checks were successful
Deploying Website / build (push) Successful in 1m5s
All checks were successful
Deploying Website / build (push) Successful in 1m5s
This commit is contained in:
23
src/app/tasks/tasks.component.html
Normal file
23
src/app/tasks/tasks.component.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<section id="tasks">
|
||||
<header>
|
||||
<h2>{{ user.name }}'s Tasks</h2>
|
||||
<menu>
|
||||
<button>Add Task</button>
|
||||
</menu>
|
||||
</header>
|
||||
|
||||
@if (selectedUserTasks) {
|
||||
<ul>
|
||||
@for (task of selectedUserTasks; track task.id) {
|
||||
<li>
|
||||
<app-task
|
||||
[task]="task"
|
||||
(complete)="onDeleteTask($event)"
|
||||
/>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
} @else {
|
||||
<p>Create a new task for his user.</p>
|
||||
}
|
||||
</section>
|
Reference in New Issue
Block a user