Skip to content

Commit

Permalink
Merge pull request #1197 from akto-api-security/fix/fix_typos_in_dash…
Browse files Browse the repository at this point in the history
…board

Fixed typos in dashboard
  • Loading branch information
shivam-rawat-akto authored Jun 17, 2024
2 parents 2fea2e0 + f818307 commit bfb8bb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function DashboardBanner() {
title: "Start testing",
icon: MarketingMinor,
showRedirect: true,
description: "150+ built-in tests covering OWASP Top 10, HackerOne top 10 and all the business logic vulnerabilities for your API Security testing needs.",
description: "400+ built-in tests covering OWASP Top 10, HackerOne top 10 and all the business logic vulnerabilities for your API Security testing needs.",
redirectUrl: "/dashboard/testing",
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react'
import { Avatar, HorizontalStack, Text } from "@shopify/polaris"
import BannerLayout from '../../../../components/banners/BannerLayout'
import { COLLECTIONS_VIDEO_LENGTH, COLLECTIONS_VIDEO_THUMBNAIL, COLLECTIONS_VIDEO_URL } from '../../../../../main/onboardingData'
import quickStartFunc from "../../../quick_start/transform"
import "../api_inventory.css"

function CollectionsPageBanner() {
Expand All @@ -12,6 +13,8 @@ function CollectionsPageBanner() {
'/public/gcp.svg',
'/public/postman.svg'
]

const connectorsList = quickStartFunc.getConnectorsList()

const iconComponent = (
<HorizontalStack gap={"2"} align="start">
Expand All @@ -24,7 +27,7 @@ function CollectionsPageBanner() {
)
})}
</HorizontalStack>
<Text color="subdued" variant="bodyMd">+11 more</Text>
<Text color="subdued" variant="bodyMd">{`+${Math.max(connectorsList.length - 4, 18)} more`}</Text>
</HorizontalStack>
)

Expand Down

0 comments on commit bfb8bb5

Please sign in to comment.