add a badge to the queues to show the count. proptypes

This commit is contained in:
Riley Davis
2017-02-16 12:48:36 -07:00
parent 1dcdd4a9c9
commit c53aa1d93b
2 changed files with 18 additions and 6 deletions
@@ -70,8 +70,10 @@ class ModerationContainer extends Component {
<div>
<ModerationHeader asset={asset} />
<ModerationMenu
activeTab={activeTab}
asset={asset}
premodCount={data.premod.length}
rejectCount={data.rejected.length}
flagCount={data.flagged.length}
/>
<ModerationQueue
data={data}