diff --git a/src/components/Tutorial/Assessment.js b/src/components/Tutorial/Assessment.js index 3f62941..19fea9b 100644 --- a/src/components/Tutorial/Assessment.js +++ b/src/components/Tutorial/Assessment.js @@ -34,7 +34,7 @@ class Assessment extends Component { return (
{currentTask.headline} -
+
- {!this.props.solutionCheck ? + {!this.props.assessment ?
{ this.setState({ file: true, open: true, saveFile: false, title: 'Projekt benennen', content: 'Bitte gib einen Namen für das Projekt ein und bestätige diesen mit einem Klick auf \'Eingabe\'.' }) }}> {this.props.name && !isWidthDown('xs', this.props.width) ? {this.props.name} : null} @@ -266,7 +266,7 @@ class WorkspaceFunc extends Component {
: null} - {this.props.solutionCheck ? : } + {this.props.assessment ? : } -
- { this.uploadXmlFile(e.target.files[0]) }} - id="open-blocks" - type="file" - /> - -
- - { this.createFileName('svg'); }} - > - - - + {!this.props.assessment? +
+ { this.uploadXmlFile(e.target.files[0]) }} + id="open-blocks" + type="file" + /> + +
+ : null} + {!this.props.assessment? + + { this.createFileName('svg'); }} + > + + + + : null} - - this.shareBlocks()} - > - - - + {!this.props.assessment? + + this.shareBlocks()} + > + + + + :null} Dein Link wurde erstellt.