diff --git a/echo/frontend/src/components/layout/PageContainer.tsx b/echo/frontend/src/components/layout/PageContainer.tsx index 868c07ed..461f5f36 100644 --- a/echo/frontend/src/components/layout/PageContainer.tsx +++ b/echo/frontend/src/components/layout/PageContainer.tsx @@ -31,7 +31,7 @@ export const PageContainer = ({ const pyClass = density === "tight" ? "py-6" : "py-10"; return (
{children} diff --git a/echo/frontend/src/components/project/ProjectQRCode.tsx b/echo/frontend/src/components/project/ProjectQRCode.tsx index 483c4163..39343934 100644 --- a/echo/frontend/src/components/project/ProjectQRCode.tsx +++ b/echo/frontend/src/components/project/ProjectQRCode.tsx @@ -128,10 +128,10 @@ export const ProjectQRCode = ({ project }: ProjectQRCodeProps) => { return ( {project?.is_conversation_allowed ? ( - + { href: `/w/${workspace.id}/home`, label: workspace.name, }); - const section = params.section; - if (window.location.pathname.endsWith("/projects/new")) { - out.push({ label: "New project" }); - } else if (section === "home" || !section) { - out.push({ label: "Overview" }); - } else { - out.push({ label: "Overview" }); - } + if (window.location.pathname.endsWith("/projects/new")) { + out.push({ label: "New project" }); + } return out; } case "workspace-settings": { @@ -180,7 +175,7 @@ export const AppBreadcrumbs = () => { }); } const section = params.section; - if (section && PROJECT_SECTION_LABELS[section]) { + if (section && section !== "home" && PROJECT_SECTION_LABELS[section]) { out.push({ label: PROJECT_SECTION_LABELS[section] }); } return out; diff --git a/echo/frontend/src/routes/project/ProjectHomeRoute.tsx b/echo/frontend/src/routes/project/ProjectHomeRoute.tsx index ceecd384..f404ef78 100644 --- a/echo/frontend/src/routes/project/ProjectHomeRoute.tsx +++ b/echo/frontend/src/routes/project/ProjectHomeRoute.tsx @@ -111,8 +111,6 @@ export const ProjectHomeRoute = () => {