Use button instead of a for raw results link
This commit is contained in:
@@ -22,6 +22,7 @@ import { AlertTableHeader } from "./AlertTableHeader";
|
||||
import { SarifMessageWithLocations } from "./locations/SarifMessageWithLocations";
|
||||
import { SarifLocation } from "./locations/SarifLocation";
|
||||
import { EmptyQueryResultsMessage } from "./EmptyQueryResultsMessage";
|
||||
import TextButton from "../common/TextButton";
|
||||
|
||||
type AlertTableProps = ResultTableProps & {
|
||||
resultSet: InterpretedResultSet<SarifInterpretationData>;
|
||||
@@ -73,13 +74,9 @@ export class AlertTable extends React.Component<
|
||||
return (
|
||||
<span>
|
||||
No Alerts. See{" "}
|
||||
{/*
|
||||
eslint-disable-next-line
|
||||
jsx-a11y/anchor-is-valid,
|
||||
*/}
|
||||
<a href="#" onClick={this.props.showRawResults}>
|
||||
<TextButton onClick={this.props.showRawResults}>
|
||||
raw results
|
||||
</a>
|
||||
</TextButton>
|
||||
.
|
||||
</span>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user