mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 07:27:58 +00:00
feat: fixed all ts url errors
This commit is contained in:
@@ -126,7 +126,7 @@ export const SshCaModal = ({ popUp, handlePopUpToggle }: Props) => {
|
||||
});
|
||||
|
||||
navigate({
|
||||
to: `/${ProjectType.SSH}/$projectId/ca/$caId` as const,
|
||||
to: `/projects/$projectId/${ProjectType.SSH}/ca/$caId` as const,
|
||||
params: {
|
||||
projectId,
|
||||
caId: newCaId
|
||||
|
||||
@@ -62,7 +62,7 @@ export const SshCaTable = ({ handlePopUpOpen }: Props) => {
|
||||
key={`ca-${ca.id}`}
|
||||
onClick={() =>
|
||||
navigate({
|
||||
to: `/${ProjectType.SSH}/$projectId/ca/$caId` as const,
|
||||
to: `/projects/$projectId/${ProjectType.SSH}/ca/$caId` as const,
|
||||
params: {
|
||||
projectId: currentWorkspace.id,
|
||||
caId: ca.id
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { createFileRoute } from '@tanstack/react-router'
|
||||
import { createFileRoute } from "@tanstack/react-router";
|
||||
|
||||
import { SshCasPage } from './SshCasPage'
|
||||
import { SshCasPage } from "./SshCasPage";
|
||||
|
||||
export const Route = createFileRoute(
|
||||
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/ssh/_ssh-layout/cas',
|
||||
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/ssh/_ssh-layout/cas"
|
||||
)({
|
||||
component: SshCasPage,
|
||||
})
|
||||
component: SshCasPage
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user