Skip to content

Commit

Permalink
Merge pull request #1398 from akto-api-security/fix/display_summary_g…
Browse files Browse the repository at this point in the history
…raph_for_all

Display summary graph for all
  • Loading branch information
ayushaga14 authored Aug 23, 2024
2 parents 0f1015d + 1884a9b commit b4f70da
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 @@ -489,7 +489,8 @@ function RunTest({ endpoints, filtered, apiCollectionId, disabled, runTestFromOu
<Text variant="headingMd">Tests</Text>
</HorizontalStack>
<HorizontalStack gap={"2"}>
{showSearch ? <TextField onChange={handleInputValue} value={searchValue} selectTextOnFocus/> : null}
{showSearch ? <TextField onChange={handleInputValue} value={searchValue} autoFocus
focused /> : null}
<Tooltip content={"Click to search"} dismissOnMouseOut>
<Button size="slim" icon={SearchMinor} onClick={() => setShowSearch(!showSearch)}/>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ const runningTestsComp = useMemo(() => (
}

const allResultsLength = testRunResults.skipped.length + testRunResults.need_configurations.length + testRunResults.no_vulnerability_found.length + testRunResults.vulnerable.length + progress
const useComponents = (!workflowTest && allResultsLength === 0) ? [<EmptyData key="empty"/>] : components
const useComponents = (!workflowTest && allResultsLength === 0 && (selectedTestRun.run_type && selectedTestRun.run_type!=='One-time')) ? [<EmptyData key="empty"/>] : components
const headingComp = (
<Box paddingBlockStart={1}>
<VerticalStack gap="2">
Expand Down

0 comments on commit b4f70da

Please sign in to comment.