This repository was archived by the owner on Apr 21, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function ScannerExamples(props) {
3838 const node = data . examples . nodes [ i ] ;
3939 if ( edge . node . relativeDirectory . includes ( scanner ) ) {
4040 const target = data . examples . nodes [ i ] . fields . scanTarget
41- if ( ! targets . includes ( target ) )
41+ if ( ! targets . includes ( target ) )
4242 targets . push ( target ) ;
4343 examples . push ( node ) ;
4444 }
@@ -56,7 +56,7 @@ export default function ScannerExamples(props) {
5656 < TabList >
5757 { /* We are reversing to ensure that the scan.yaml is shown before the findings.yaml */ }
5858 { examples . filter ( example => example . fields . scanTarget === target ) . reverse ( ) . map ( ( example , index ) => (
59- < Tab key = { index } > { example . fields . fileName } </ Tab >
59+ < Tab key = { index } > { example . fields . fileName . split ( "." ) [ 0 ] } </ Tab >
6060 ) ) }
6161 </ TabList >
6262
You can’t perform that action at this time.
0 commit comments