mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
reveal name on shortlist in list
This commit is contained in:
parent
c64aae332d
commit
19c882f3b4
@ -170,9 +170,9 @@ let AccordionListItemPrize = React.createClass({
|
||||
},
|
||||
|
||||
render() {
|
||||
let artistName = this.state.currentUser.is_jury ?
|
||||
<span className="glyphicon glyphicon-eye-close" style={{fontSize: '0.75em'}} aria-hidden="true"/> :
|
||||
this.props.content.artist_name;
|
||||
let artistName = ((this.state.currentUser.is_jury && !this.state.currentUser.is_judge) ||
|
||||
(this.state.currentUser.is_judge && !this.props.content.selected )) ?
|
||||
<span className="glyphicon glyphicon-eye-close" aria-hidden="true"/> : this.props.content.artist_name;
|
||||
return (
|
||||
<div>
|
||||
<AccordionListItemPiece
|
||||
|
Loading…
Reference in New Issue
Block a user