mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
Limiting to user actions.
This commit is contained in:
@@ -29,7 +29,7 @@ export default (props) => (
|
||||
commentIds={props.premodIds}
|
||||
comments={props.comments.byId}
|
||||
users={props.users.byId}
|
||||
actionIds={props.actions.ids}
|
||||
actionIds={props.userActionIds}
|
||||
actions={props.actions.byId}
|
||||
onClickAction={props.updateStatus}
|
||||
onClickShowBanDialog={props.showBanUserDialog}
|
||||
@@ -50,8 +50,6 @@ export default (props) => (
|
||||
commentIds={props.rejectedIds}
|
||||
comments={props.comments.byId}
|
||||
users={props.users.byId}
|
||||
actionIds={props.actions.ids}
|
||||
actions={props.actions.byId}
|
||||
onClickAction={props.updateStatus}
|
||||
modActions={['approve']}
|
||||
loading={props.comments.loading}
|
||||
@@ -65,8 +63,6 @@ export default (props) => (
|
||||
commentIds={props.flaggedIds}
|
||||
comments={props.comments.byId}
|
||||
users={props.users.byId}
|
||||
actionIds={props.actions.ids}
|
||||
actions={props.actions.byId}
|
||||
onClickAction={props.updateStatus}
|
||||
modActions={['reject', 'approve']}
|
||||
loading={props.comments.loading}/>
|
||||
|
||||
Reference in New Issue
Block a user