Skip to content

Commit

Permalink
feat: Reverse the order of the breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Dec 26, 2024
1 parent 5a7c00d commit 59afbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/api/utils/get-breadcrumbs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func GetBreadcrumbs(entry structs.Route) ([]structs.Route, error) {
continue
}

results = append(results, currentEntry)
results = append([]structs.Route{currentEntry}, results...)
}

return results, nil
Expand Down

0 comments on commit 59afbff

Please sign in to comment.