Since the editor component now relies on a list of available tags to be passed as input, we need to apply some changes to our project comment components.
Let's start with the project comments container component, located in src/app/container/project-comments-container/project-comments-container.component.ts. The ellipsis character is hiding irrelevant code parts, while effective changes are in bold:
…import {Comment, CommentUpdate, Project, Tag, User} from '../../model';…import {TagsService} from '../../tags/tags.service';@Component({ …})export class ProjectCommentsContainerComponent { … tags: Observable<Tag[]>; constructor(private projectService: ProjectService, private userService: UserService, ...