Skip to content

Commit

Permalink
Merge branch 'master' of github.com:relf/WhatsOpt
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Mar 22, 2024
2 parents ae0db72 + 8683f09 commit ccb315a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/javascript/mda_viewer/components/ComparisonPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class ComparisonPanel extends React.Component {
selected={selected}
onAnalysisSearch={this.handleAnalysisSearch}
onAnalysisSelected={this.handleAnalysisSelected}
disabled={false}
/>
</div>
<div className="editor-section col-12">
Expand Down
9 changes: 7 additions & 2 deletions app/javascript/mda_viewer/components/ExportPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ class ExportPanel extends React.Component {
const { selected } = this.state;
const [selection] = selected;

this.api.importDiscipline(this.db.getAnalysisId(), disc.id, selection.id,
this.api.importDiscipline(
this.db.getAnalysisId(),
disc.id,
selection.id,
() => {
/* global dataConfirmModal */
dataConfirmModal.confirm({
Expand Down Expand Up @@ -63,7 +66,8 @@ class ExportPanel extends React.Component {
cancelClass: 'd-none',
onConfirm: () => { },
});
});
},
);
}

render() {
Expand Down Expand Up @@ -103,6 +107,7 @@ class ExportPanel extends React.Component {
selected={selected}
onAnalysisSearch={this.handleAnalysisSearch}
onAnalysisSelected={this.handleAnalysisSelected}
disabled={false}
/>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions app/javascript/sensitivity_plotter/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class SensitivityPlotter extends React.Component {
const { api, ope: { id: opeId } } = this.props;
api.analyseSensitivity(
opeId,
undefined,
undefined,
undefined,
undefined, // FIXME: HSIC parameters, unused here, to be refactored
undefined, // FIXME: HSIC parameters, unused here, to be refactored
undefined, // FIXME: HSIC parameters, unused here, to be refactored
(response) => {
this.setState({ ...response.data });
},
Expand Down

0 comments on commit ccb315a

Please sign in to comment.