diff --git a/src/common/table.js b/src/common/table.js
index 6d75cfa..b0a22c4 100644
--- a/src/common/table.js
+++ b/src/common/table.js
@@ -39,7 +39,7 @@ class CustomTable extends Component {
};
onClick(event, row, column) {
- this.setState({ editCell: [column, row] }); // x, y
+ this.setState({ editCell: [column, row] }); // x, y
}
static addCell(data, index, child) {
diff --git a/src/file/edit-files.js b/src/file/edit-files.js
index b7f277c..93c49c0 100644
--- a/src/file/edit-files.js
+++ b/src/file/edit-files.js
@@ -27,7 +27,6 @@ import EditFileContent from "./edit-file-content";
class EditFilesDialog extends React.Component {
valid = true;
-
constructor(props) {
super(props);
@@ -40,7 +39,6 @@ class EditFilesDialog extends React.Component {
}
onClose() {
-
this.props.onClose();
}
@@ -71,29 +69,17 @@ class EditFilesDialog extends React.Component {
} else {
this.setState({ uploadProgress: 0 });
}
-
};
clearProgress = (newFileID) => {
- /*if (this.props.onChange != null) {
- let event = {}
- event["target"] = {}
- event.target["value"] = newFileID
- this.props.onChange(event);
- }
- */
this.setState({ uploadProgress: 0 });
-
-
};
- closeEditModal(){
-
- this.setState({editModal: false});
+ closeEditModal() {
+ this.setState({editModal: false});
}
deleteFile(index){
-
let file = this.props.files[index]
AppDispatcher.dispatch({
type: 'files/start-remove',
@@ -102,9 +88,7 @@ class EditFilesDialog extends React.Component {
});
}
-
render() {
-
let fileOptions = [];
if (this.props.files.length > 0){
fileOptions.push(
@@ -122,7 +106,6 @@ class EditFilesDialog extends React.Component {
marginTop: '-40px'
};
-
return (
-
-
);
}
}
diff --git a/src/scenario/scenarios.js b/src/scenario/scenarios.js
index 1c1d9d5..1128c29 100644
--- a/src/scenario/scenarios.js
+++ b/src/scenario/scenarios.js
@@ -228,12 +228,8 @@ class Scenarios extends Component {
}
modifyRunningColumn(running){
-
- if(running){
- return