Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save allanchaplin/bb6e8ccbe5ac03db4af3597d68c7e88e to your computer and use it in GitHub Desktop.
Save allanchaplin/bb6e8ccbe5ac03db4af3597d68c7e88e to your computer and use it in GitHub Desktop.
{(() => {
if(this.isAdmin()) {
return (<span className='h4'> by
<StaffSelector
onChange= { this.handleFilterStaffMemberChange }
value= { state.filterStaffMemberID }
placeholder='All Staff'
staffMembers= {this.props.staticData.all_staff}
/>
</span>)
}
})()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment