Skip to content

Commit

Permalink
fix breadcrumb type error
Browse files Browse the repository at this point in the history
  • Loading branch information
13bfrancis committed Nov 8, 2023
1 parent 053441f commit 0afb047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/ui/src/pages/actions/actions-breadcrumbs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ export const DETAILS_AND_ACTIONS_CRUMBS = (data: {
];
return !data.action
? base
: [
: ([
...base,
{
displayText: mapActionLabel(data.action),
order: 3,
to: `/actions/${data.id}/${data.action}`,
},
];
] as BreadCrumbConfig[]);
};

0 comments on commit 0afb047

Please sign in to comment.