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 @@ ...@@ -272,7 +272,7 @@
[parseVote]="getVote(current)" [parseVote]="getVote(current)"
[userRole]="userRole" [userRole]="userRole"
[moderator]="false" [moderator]="false"
[isFromModerator]="moderatorIds.includes(current.creatorId)" [isFromModerator]="filter.moderatorAccountIds.has(current.creatorId)"
[isFromOwner]="room.ownerId === current.creatorId" [isFromOwner]="room.ownerId === current.creatorId"
[user]="user" [user]="user"
[disabled]="!commentsEnabled" [disabled]="!commentsEnabled"
......
...@@ -113,6 +113,10 @@ export class CommentListFilter { ...@@ -113,6 +113,10 @@ export class CommentListFilter {
return !!this.threshold; return !!this.threshold;
} }
get moderatorAccountIds() {
return this.moderatorIds;
}
filterCommentsBySearch(comments: Comment[]): Comment[] { filterCommentsBySearch(comments: Comment[]): Comment[] {
const search = this.currentSearch.toLowerCase(); const search = this.currentSearch.toLowerCase();
return comments 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