Merge pull request #217 from sensebox/dev/Tutorial-Builder-Updates
only show public tutorials
This commit is contained in:
		
						commit
						be8b9ebf32
					
				| @ -30,7 +30,7 @@ class Requirements extends Component { | |||||||
|         <FormLabel style={{ color: 'black' }}>{Blockly.Msg.builder_requirements_head}</FormLabel> |         <FormLabel style={{ color: 'black' }}>{Blockly.Msg.builder_requirements_head}</FormLabel> | ||||||
|         <FormHelperText style={{ marginTop: '5px' }}>{Blockly.Msg.builder_requirements_order}</FormHelperText> |         <FormHelperText style={{ marginTop: '5px' }}>{Blockly.Msg.builder_requirements_order}</FormHelperText> | ||||||
|         <FormGroup> |         <FormGroup> | ||||||
|           {this.props.tutorials.filter(tutorial => tutorial._id !== this.props.id).map((tutorial, i) => |           {this.props.tutorials.filter(tutorial => tutorial._id !== this.props.id && tutorial.public).map((tutorial, i) => | ||||||
|             <FormControlLabel |             <FormControlLabel | ||||||
|               key={i} |               key={i} | ||||||
|               control={ |               control={ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user