Limiting to user actions.

This commit is contained in:
David Jay
2017-01-04 15:56:52 -05:00
parent 216b21251d
commit 7a239c02ab
4 changed files with 13 additions and 14 deletions
@@ -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}/>