Skip to content
Snippets Groups Projects
Commit c5c89fae authored by Ruben Bimberg's avatar Ruben Bimberg :computer:
Browse files

Resolve merge

parent 2e8eff50
No related merge requests found
......@@ -272,7 +272,7 @@
[parseVote]="getVote(current)"
[userRole]="userRole"
[moderator]="false"
[isFromModerator]="moderatorIds.includes(current.creatorId)"
[isFromModerator]="filter.moderatorAccountIds.has(current.creatorId)"
[isFromOwner]="room.ownerId === current.creatorId"
[user]="user"
[disabled]="!commentsEnabled"
......
......@@ -113,6 +113,10 @@ export class CommentListFilter {
return !!this.threshold;
}
get moderatorAccountIds() {
return this.moderatorIds;
}
filterCommentsBySearch(comments: Comment[]): Comment[] {
const search = this.currentSearch.toLowerCase();
return comments
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment