Skip to content
Snippets Groups Projects
Commit 67919ecd authored by Sandro Weber's avatar Sandro Weber
Browse files

cleanup

parent e1e99e2b
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ export default class EntryPage extends React.Component { ...@@ -33,7 +33,7 @@ export default class EntryPage extends React.Component {
<div><b>!!! NRP Core testing !!!</b></div> <div><b>!!! NRP Core testing !!!</b></div>
</div> </div>
<NrpCoreDashboard /> <NrpCoreDashboard />
<TransceiverFunctionEditor experimentId='mqtt_simple_1'/> {/*<TransceiverFunctionEditor experimentId='mqtt_simple_1'/>*/}
</div> </div>
); );
} }
......
...@@ -57,14 +57,12 @@ export default class TransceiverFunctionEditor extends React.Component { ...@@ -57,14 +57,12 @@ export default class TransceiverFunctionEditor extends React.Component {
} }
onChangeCodemirror(change, viewUpdate) { onChangeCodemirror(change, viewUpdate) {
//console.info(['onChangeCodemirror', viewUpdate]);
this.setState({code: change}); this.setState({code: change});
this.hasUnsavedChanges = !this.fileLoading; this.hasUnsavedChanges = !this.fileLoading;
this.fileLoading = false; this.fileLoading = false;
if (this.hasUnsavedChanges) { if (this.hasUnsavedChanges) {
this.setState({textChanges: 'unsaved changes'}); this.setState({textChanges: 'unsaved changes'});
} }
console.info(['this.hasUnsavedChanges', this.hasUnsavedChanges]);
} }
async saveTF() { async saveTF() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment