misc: add |local
This commit is contained in:
1 parent
10af840273
commit
1e4e9ae1de
2 files changed
+2
-3
No files matched your search
@@ -4,5 +4,4 @@ export const isMutable = (post: PostView, me: PersonView) =>
|
||||
(me.person.admin && post.post.local) || me.person.id == post.creator.id
|
||||
|
||||
export const isCommentMutable = (comment: CommentView, me: PersonView) =>
|
||||
(me.person.admin && comment.comment.local) ||
|
||||
me.person.id == comment.creator.id
|
||||
Reference in new issue
Block a user