fix: add pageination to user profiles
This commit is contained in:
1 parent
ef0cb48710
commit
8e75e05585
3 files changed
+61
-46
No files matched your search
@@ -6,3 +6,6 @@ export const isMutable = (post: PostView, me: PersonView) =>
|
||||
export const isCommentMutable = (comment: CommentView, me: PersonView) =>
|
||||
(me.person.admin && comment.comment.local) ||
|
||||
me.person.id == comment.creator.id
|
||||
|
||||
export const isComment = (item: CommentView | PostView): item is CommentView =>
|
||||
'comment' in item
|
||||
Reference in new issue
Block a user