feat: added project layout and project select in breadcrumb

This commit is contained in:
=
2025-07-02 01:16:48 +05:30
parent e028b4e26d
commit 09cdd5ec91
165 changed files with 6253 additions and 5600 deletions
+13 -13
View File
@@ -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,
},
}),
},
],
}
},
})