ensure that the correct xml-file is displayed in the workspace
This commit is contained in:
		
							parent
							
								
									8991e2b40b
								
							
						
					
					
						commit
						f7a0e7594d
					
				| @ -134,7 +134,8 @@ class BlocklyExample extends Component { | ||||
|         {this.state.checked && !this.props.task ? | ||||
|           <FormHelperText style={{lineHeight: 'initial'}}>Anmerkung: Man kann den initialen Setup()- bzw. Endlosschleifen()-Block löschen. Zusätzlich ist es möglich u.a. nur einen beliebigen Block auszuwählen, ohne dass dieser als deaktiviert dargestellt wird.</FormHelperText> | ||||
|         : null} | ||||
|         {this.state.checked ? (() => { | ||||
|         // ensure that the correct xml-file is displayed in the workspace
 | ||||
|         {this.state.checked && this.state.xml? (() => { | ||||
|           return( | ||||
|             <div style={{marginTop: '10px'}}> | ||||
|               <Grid container className={!this.props.value || this.props.error ? this.props.classes.errorBorder : null}> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user