mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 23:47:06 +00:00
feat: added project layout and project select in breadcrumb
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { createFileRoute, linkOptions } from "@tanstack/react-router";
|
||||
import { createFileRoute, linkOptions } from '@tanstack/react-router'
|
||||
|
||||
import { SshCaByIDPage } from "./SshCaByIDPage";
|
||||
import { SshCaByIDPage } from './SshCaByIDPage'
|
||||
|
||||
export const Route = createFileRoute(
|
||||
"/_authenticate/_inject-org-details/_org-layout/ssh/$projectId/_ssh-layout/ca/$caId"
|
||||
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/ssh/_ssh-layout/ca/$caId',
|
||||
)({
|
||||
component: SshCaByIDPage,
|
||||
beforeLoad: ({ context, params }) => {
|
||||
@@ -11,15 +11,15 @@ export const Route = createFileRoute(
|
||||
breadcrumbs: [
|
||||
...context.breadcrumbs,
|
||||
{
|
||||
label: "SSH Certificate Authorities",
|
||||
label: 'SSH Certificate Authorities',
|
||||
link: linkOptions({
|
||||
to: "/ssh/$projectId/overview",
|
||||
to: '/ssh/$projectId/overview',
|
||||
params: {
|
||||
projectId: params.projectId
|
||||
}
|
||||
})
|
||||
}
|
||||
]
|
||||
};
|
||||
}
|
||||
});
|
||||
projectId: params.projectId,
|
||||
},
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user