Skip to content

Commit

Permalink
Merge pull request #1522 from akto-api-security/hotfix/vulnerability_…
Browse files Browse the repository at this point in the history
…report_cta

Remove support footer from Vuln report
  • Loading branch information
avneesh-akto authored Sep 19, 2024
2 parents a97fcee + 9dfb140 commit b26ac7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function Dashboard() {
})}
</VerticalStack>
</div> : null}
{func.checkLocal() && !(location.pathname.includes("test-editor") || location.pathname.includes("settings")) ?<div className="call-banner">
{func.checkLocal() && !(location.pathname.includes("test-editor") || location.pathname.includes("settings") || location.pathname.includes("onboarding") || location.pathname.includes("summary")) ?<div className="call-banner">
<Banner hideIcon={true}>
<Text variant="headingMd">Need a 1:1 experience?</Text>
<Button plain monochrome onClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Issue({ index, issueDetails, isLast }) {
<HorizontalStack align="space-between">
<Text variant="headingXs" fontWeight='bold'>{vulnerableApisCount} {vulnerableApisCount === 1 ? resourceName.singular : resourceName.plural} affected</Text>
<Link url={testResultLink} removeUnderline target="_blank">
<Text variant='bodyMd'>See in akto</Text>
<Text variant='bodyMd'>See in Akto</Text>
</Link>
</HorizontalStack>

Expand Down Expand Up @@ -105,6 +105,7 @@ function Issue({ index, issueDetails, isLast }) {
hideQueryField={true}
headings={headers}
hidePagination={true}
showFooter={false}
/>

<VerticalStack gap="1">
Expand Down

0 comments on commit b26ac7f

Please sign in to comment.