Updating the task list container

That's it for our project component. However, our task list container is still implemented in such a way that it deals with all available tasks and does not know anything about projects. Let's change that by modifying our component class located in src/app/container/task-list-container.component.ts. Changes are highlighted in bold while irrelevant parts are hidden under an ellipsis character:

…import {Project, Task, TaskListFilterType} from '../../model';import {map, switchMap, take} from 'rxjs/operators';import {ProjectService} from '../../project/project.service';@Component({  selector: 'mac-task-list-container',  templateUrl: './task-list-container.component.html',  encapsulation: ViewEncapsulation.None,

Get Mastering Angular Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.