Skip to content

Commit

Permalink
Refinements to the Jupyter modal. Closes #10949
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsarawagi committed Aug 19, 2024
1 parent 50adab2 commit 0bdd550
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/pages/staticPages/tools/oncoprinter/JupyterNotebookModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class JupyterNoteBookModal extends React.Component<
</Modal.Header>
<Modal.Body>
<Form
id="jupyterform"
onSubmit={e =>
this.handleSubmit(
(e as unknown) as React.FormEvent<
Expand Down Expand Up @@ -134,12 +135,14 @@ class JupyterNoteBookModal extends React.Component<
</div>
)}
</FormGroup>
<Modal.Footer>
<Button onClick={handleClose}>Close</Button>
<Button type="submit">Open Jupyter Notebook</Button>
</Modal.Footer>
</Form>
</Modal.Body>
<Modal.Footer>
<Button onClick={handleClose}>Close</Button>
<Button type="submit" form="jupyterform">
Open Jupyter Notebook
</Button>
</Modal.Footer>
</Modal>
);
}
Expand Down

0 comments on commit 0bdd550

Please sign in to comment.