Skip to content

Commit

Permalink
Merge pull request #1486 from flanksource/1480-canary-grouping
Browse files Browse the repository at this point in the history
fix: fix / name grouped children being incomplete
  • Loading branch information
moshloop authored Nov 8, 2023
2 parents 27a9ea7 + 4e15489 commit 9e81686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Canary/grouping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function getGroupedChecks(checks: HealthCheck[] = [], groupBy?: string) {
const updatedCheck = {
...check,
// if the name is a path, we want to show the last part of the path
name: value.split("/", 1)[1],
name: value.split("/").slice(1).join("/"),
originalName: value
};
if (!current) {
Expand Down

0 comments on commit 9e81686

Please sign in to comment.