Skip to content

Commit

Permalink
fix: Flow breadcrumb missing in Header component (#3857)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Oct 27, 2024
1 parent 571ccf0 commit 5ede8b2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor.planx.uk/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Edit from "@mui/icons-material/Edit";
import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown";
import MenuOpenIcon from "@mui/icons-material/MenuOpen";
import OpenInNewIcon from "@mui/icons-material/OpenInNew";
import OpenInNewOffIcon from "@mui/icons-material/OpenInNewOff";
import Person from "@mui/icons-material/Person";
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/routes/feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export interface Feedback {
const feedbackRoutes = compose(
withData((req) => ({
mountpath: req.mountpath,
flow: req.params.flow.split(",")[0],
})),

mount({
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/routes/serviceSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export const getFlowSettings = async (req: NaviRequest) => {
const serviceSettingsRoutes = compose(
withData((req) => ({
mountpath: req.mountpath,
flow: req.params.flow.split(",")[0],
})),

mount({
Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/routes/submissionsLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { makeTitle } from "./utils";
const submissionsLogRoutes = compose(
withData((req) => ({
mountpath: req.mountpath,
flow: req.params.flow.split(",")[0],
})),

mount({
Expand Down

0 comments on commit 5ede8b2

Please sign in to comment.