We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca083f commit 95f67daCopy full SHA for 95f67da
G8/frontend/src/pages/SarifViewer.js
@@ -381,8 +381,8 @@ const SarifViewer = () => {
381
Edit
382
</Dropdown.Toggle>
383
<Dropdown.Menu className="dashboard-dropdown dropdown-menu-left mt-2">
384
- <input id="input-file" className="d-none" type="file" />
385
<Dropdown.Item
+ as="button"
386
className="fw-bold"
387
onClick={(e) => {
388
e.preventDefault();
@@ -403,7 +403,7 @@ const SarifViewer = () => {
403
Upload Log
404
</Form>
405
</Dropdown.Item>
406
- <Dropdown.Item className="fw-bold" onClick={removeLogs}>
+ <Dropdown.Item as="button" className="fw-bold" onClick={removeLogs}>
407
<FontAwesomeIcon icon={faTrash} className="me-2" />
408
Remove Log
409
0 commit comments