fix: Comment resolution control visible to non-editors

This commit is contained in:
Tom Moor
2024-07-02 07:52:21 -04:00
parent 117c4f5009
commit f9dadf5548
3 changed files with 10 additions and 10 deletions

View File

@@ -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
);
}