From f7a0e7594d0fb78a95ca7ad45091279870a08131 Mon Sep 17 00:00:00 2001 From: Delucse <46593742+Delucse@users.noreply.github.com> Date: Wed, 30 Sep 2020 09:20:29 +0200 Subject: [PATCH] ensure that the correct xml-file is displayed in the workspace --- src/components/Tutorial/Builder/BlocklyExample.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Tutorial/Builder/BlocklyExample.js b/src/components/Tutorial/Builder/BlocklyExample.js index f93a282..217e1db 100644 --- a/src/components/Tutorial/Builder/BlocklyExample.js +++ b/src/components/Tutorial/Builder/BlocklyExample.js @@ -134,7 +134,8 @@ class BlocklyExample extends Component { {this.state.checked && !this.props.task ? 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. : null} - {this.state.checked ? (() => { + // ensure that the correct xml-file is displayed in the workspace + {this.state.checked && this.state.xml? (() => { return(