Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 4b4903f

Browse files
committed
Ensure that scan.yml is shown before findings.yml
To ensure that the scan.yaml is shown before the findings.yml I reversed the array containing both files
1 parent fe01d3f commit 4b4903f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/templates/scannerExamples.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const ScannerExamples = props => {
2828
{targets.map(target => (<TabPanel key={target}>
2929
<Tabs>
3030
<TabList>
31-
{examples.filter(example => example.fields.scanTarget === target).map((example, index) => (
31+
{examples.reverse().filter(example => example.fields.scanTarget === target).map((example, index) => (
3232
<Tab key={index}>{example.fields.fileName}</Tab>
3333
))}
3434
</TabList>

0 commit comments

Comments
 (0)