fix: Comment resolution control visible to non-editors
This commit is contained in:
@@ -60,7 +60,7 @@ export default class CommentsStore extends Store<Comment> {
|
||||
*/
|
||||
unresolvedThreadsInDocument(documentId: string): Comment[] {
|
||||
return this.threadsInDocument(documentId).filter(
|
||||
(comment: Comment) => comment.isResolved === false
|
||||
(comment: Comment) => comment.isResolved !== true
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user