Skip to content

Commit

Permalink
Bug Fix for JIRA FYP-268 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
ISnackable authored Jul 21, 2021
1 parent eca083f commit 95f67da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions G8/frontend/src/pages/SarifViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ const SarifViewer = () => {
Edit
</Dropdown.Toggle>
<Dropdown.Menu className="dashboard-dropdown dropdown-menu-left mt-2">
<input id="input-file" className="d-none" type="file" />
<Dropdown.Item
as="button"
className="fw-bold"
onClick={(e) => {
e.preventDefault();
Expand All @@ -403,7 +403,7 @@ const SarifViewer = () => {
Upload Log
</Form>
</Dropdown.Item>
<Dropdown.Item className="fw-bold" onClick={removeLogs}>
<Dropdown.Item as="button" className="fw-bold" onClick={removeLogs}>
<FontAwesomeIcon icon={faTrash} className="me-2" />
Remove Log
</Dropdown.Item>
Expand Down

0 comments on commit 95f67da

Please sign in to comment.