chore: Improve relationship loading, include policies (#6321)
Use model where available in usePolicy
This commit is contained in:
@@ -71,7 +71,7 @@ function CommentThread({
|
||||
document,
|
||||
comment: thread,
|
||||
});
|
||||
const can = usePolicy(document.id);
|
||||
const can = usePolicy(document);
|
||||
|
||||
const commentsInThread = comments
|
||||
.inThread(thread.id)
|
||||
|
||||
Reference in New Issue
Block a user